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
|
@ -59,7 +59,7 @@ needLsof = error $ unlines
|
|||
]
|
||||
|
||||
watchThread :: NamedThread
|
||||
watchThread = NamedThread "Watcher" $ do
|
||||
watchThread = namedThread "Watcher" $ do
|
||||
startup <- asIO1 startupScan
|
||||
direct <- liftAnnex isDirect
|
||||
addhook <- hook $ if direct then onAddDirect else onAdd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue