summaryrefslogtreecommitdiff
path: root/Assistant/Threads
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-08-24 13:49:04 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-08-24 13:49:04 -0400
commit29829cfd42bc3b15dfde49feeac82bcc4262096f (patch)
tree4c39606a2f8d7e6d2c637cb3b0d70b5fcba29441 /Assistant/Threads
parentd4e34a2e1cd2753f9bba8e2762ef66ccd1854280 (diff)
clarify notifyNetMessagerRestart
Diffstat (limited to 'Assistant/Threads')
-rw-r--r--Assistant/Threads/NetWatcher.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/Assistant/Threads/NetWatcher.hs b/Assistant/Threads/NetWatcher.hs
index 5974de11d..0d8442c69 100644
--- a/Assistant/Threads/NetWatcher.hs
+++ b/Assistant/Threads/NetWatcher.hs
@@ -39,7 +39,11 @@ netWatcherThread = thread noop
- network connection changes, but it also ensures that
- any networked remotes that may have not been routable for a
- while (despite the local network staying up), are synced with
- - periodically. -}
+ - periodically.
+ -
+ - Note that it does not call notifyNetMessagerRestart, because
+ - it doesn't know that the network has changed.
+ -}
netWatcherFallbackThread :: NamedThread
netWatcherFallbackThread = namedThread "NetWatcherFallback" $
runEvery (Seconds 3600) <~> handleConnection