Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

Commit

Permalink
Merge pull request #232 from clochix/master
Browse files Browse the repository at this point in the history
Remove status checking of the indexer, refs #228
  • Loading branch information
Frank Rousseau committed Jan 7, 2016
2 parents 2022ff9 + 0b45216 commit 1c62a35
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions server/lib/status_checker.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ User = require '../models/user'

couchdbHost = process.env.COUCH_HOST or 'localhost'
couchdbPort = process.env.COUCH_PORT or '5984'
indexerHost = process.env.INDEXER_HOST or 'localhost'
indexerPort = process.env.INDEXER_PORT or '9102'
proxyHost = process.env.PROXY_HOST or 'localhost'
proxyPort = process.env.PROXY_PORT or '9104'
controllerHost = process.env.CONTROLLER_HOST or 'localhost'
Expand All @@ -19,7 +17,6 @@ homePort = process.env.DEFAULT_REDIRECT_PORT
couchUrl = "http://#{couchdbHost}:#{couchdbPort}/"
controllerUrl = "http://#{controllerHost}:#{controllerPort}/"
dataSystemUrl = "http://#{dataSystemHost}:#{dataSystemPort}/"
indexerUrl = "http://#{indexerHost}:#{indexerPort}/"
homeUrl = "http://#{homeHost}:#{homePort}/"
proxyUrl = "http://#{proxyHost}:#{proxyPort}/"

Expand All @@ -34,7 +31,6 @@ class StatusChecker
couchdb: false
datasystem: false
controller: false
indexer: false
home: false
registered: false

Expand All @@ -50,7 +46,6 @@ class StatusChecker
@getChecker "couchdb", couchUrl
@getChecker "controller", controllerUrl, "drones/running"
@getChecker "datasystem", dataSystemUrl
@getChecker "indexer", indexerUrl
@getChecker "home", homeUrl
@getChecker "proxy", proxyUrl, "routes"
], =>
Expand Down

0 comments on commit 1c62a35

Please sign in to comment.