#76 checks for stale connections always

It turns out that checking stale connections on a timer takes between 1-2 times as long as just checking them always. This also has the benefit of catching timeouts that happen between timer loops.
This commit is contained in:
Ilan Steemers
2015-09-28 12:48:11 +02:00
parent 7075a91d37
commit 765c84301f
3 changed files with 2 additions and 18 deletions
-3
View File
@@ -64,9 +64,6 @@ class Conf(object):
# Failures are always saved
SAVE_LIMIT = conf.get('save_limit', 250)
# Sets the time in seconds to check for stale database connections
DB_TIMEOUT = conf.get('db_timeout', 60)
# Disable the scheduler
SCHEDULER = conf.get('scheduler', True)