add sanity checker thread
Currently wakes up once a day, and does nothing. :)
This commit is contained in:
parent
36d73b0017
commit
4b9b9b4947
4 changed files with 80 additions and 12 deletions
|
@ -45,6 +45,7 @@ import Assistant.ThreadedMonad
|
|||
import Assistant.DaemonStatus
|
||||
import Assistant.Watcher
|
||||
import Assistant.Committer
|
||||
import Assistant.SanityChecker
|
||||
import qualified Utility.Daemon
|
||||
import Utility.LogFile
|
||||
|
||||
|
@ -71,6 +72,7 @@ startDaemon foreground
|
|||
-- is taking place.
|
||||
_ <- forkIO $ commitThread st changechan
|
||||
_ <- forkIO $ daemonStatusThread st dstatus
|
||||
_ <- forkIO $ sanityCheckerThread st dstatus
|
||||
watchThread st dstatus changechan
|
||||
|
||||
stopDaemon :: Annex ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue