Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
xedaq committed Oct 27, 2020
1 parent 60935ce commit e9f0c11
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions dispatcher/MongoConnect.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,6 @@ def GetRunMode(self, mode):
del incdoc[field]
newdoc.update(incdoc)
return newdoc
except NotMasterError:
self.log.error('Database snafu')
except Exception as E:
# LOG ERROR
self.log.error("Got a %s exception in doc pulling: %s" % (type(E), E))
Expand Down
2 changes: 1 addition & 1 deletion dispatcher/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ArmTimeout = 40

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

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

0 comments on commit e9f0c11

Please sign in to comment.