webapp: Now allows restarting any threads that crash.
This commit is contained in:
parent
07717a9b2b
commit
76ddf9b6d3
30 changed files with 124 additions and 61 deletions
|
@ -19,7 +19,7 @@ import qualified Data.Map as M
|
|||
{- This thread polls the status of ongoing transfers, determining how much
|
||||
- of each transfer is complete. -}
|
||||
transferPollerThread :: NamedThread
|
||||
transferPollerThread = NamedThread "TransferPoller" $ do
|
||||
transferPollerThread = namedThread "TransferPoller" $ do
|
||||
g <- liftAnnex gitRepo
|
||||
tn <- liftIO . newNotificationHandle =<<
|
||||
transferNotifier <$> getDaemonStatus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue