summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Assistant.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Assistant.hs b/Assistant.hs
index 6af6c6639..b81806ff9 100644
--- a/Assistant.hs
+++ b/Assistant.hs
@@ -154,6 +154,9 @@ startAssistant assistant daemonize webappwaiter = do
scanremotes <- newScanRemoteMap
mapM_ startthread
[ watch $ commitThread st changechan commitchan transferqueue dstatus
+#ifdef WITH_WEBAPP
+ , assist $ webAppThread (Just st) dstatus transferqueue Nothing webappwaiter
+#endif
, assist $ pushThread st dstatus commitchan pushmap
, assist $ pushRetryThread st dstatus pushmap
, assist $ mergeThread st
@@ -163,9 +166,6 @@ startAssistant assistant daemonize webappwaiter = do
, assist $ sanityCheckerThread st dstatus transferqueue changechan
, assist $ mountWatcherThread st dstatus scanremotes
, assist $ transferScannerThread st dstatus scanremotes transferqueue
-#ifdef WITH_WEBAPP
- , assist $ webAppThread (Just st) dstatus transferqueue Nothing webappwaiter
-#endif
, watch $ watchThread st dstatus transferqueue changechan
]
waitForTermination