Skip to content

Commit e9f0c11

Browse files
author
xedaq
committed
Tweaks
1 parent 60935ce commit e9f0c11

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

dispatcher/MongoConnect.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,6 @@ def GetRunMode(self, mode):
328328
del incdoc[field]
329329
newdoc.update(incdoc)
330330
return newdoc
331-
except NotMasterError:
332-
self.log.error('Database snafu')
333331
except Exception as E:
334332
# LOG ERROR
335333
self.log.error("Got a %s exception in doc pulling: %s" % (type(E), E))

dispatcher/config.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ArmTimeout = 40
1010

1111
# How long since a client's last check-in until we consider
1212
# it to be 'timing out'
13-
ClientTimeout = 10
13+
ClientTimeout = 15
1414

1515
# Database URIs. Please store DB password in the MONGO_PASSWORD
1616
# environment variable and runs DB password as RUNS_MONGO_PASSWORD

0 commit comments

Comments
 (0)