summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-07-04 14:48:31 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-07-04 14:48:31 (GMT)
commitc78424678261c59bcbf924b53e1ebe12b6cc1201 (patch)
treebecedf4f049edd79aa43363fb2d7ad3d462078dd /Swift
parent558e5eb1b4b7d7de5ef291c173ed6ac012f23854 (diff)
downloadswift-contrib-c78424678261c59bcbf924b53e1ebe12b6cc1201.zip
swift-contrib-c78424678261c59bcbf924b53e1ebe12b6cc1201.tar.bz2
Check idleness every second instead of 10 times a second.
Diffstat (limited to 'Swift')
-rw-r--r--Swift/Controllers/MainController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/MainController.cpp b/Swift/Controllers/MainController.cpp
index f759e98..3d9d25a 100644
--- a/Swift/Controllers/MainController.cpp
+++ b/Swift/Controllers/MainController.cpp
@@ -92,7 +92,7 @@ MainController::MainController(
eventLoop_(eventLoop),
networkFactories_(networkFactories),
uiFactory_(uiFactories),
- idleDetector_(&idleQuerier_, networkFactories_->getTimerFactory(), 100),
+ idleDetector_(&idleQuerier_, networkFactories_->getTimerFactory(), 1000),
storagesFactory_(storagesFactory),
certificateStorageFactory_(certificateStorageFactory),
settings_(settings),