clarify notifyNetMessagerRestart

This commit is contained in:
Joey Hess 2013-08-24 13:49:04 -04:00
parent df4199d7e3
commit 8587485994
2 changed files with 9 additions and 1 deletions

View file

@ -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