fix transfer slots blocking and refilling when transfers are stopped

There's a bug, if a transfer process notices it needs to do nothing,
it never starts the transfer, so the slot is never freed.
This commit is contained in:
Joey Hess 2012-07-06 21:45:08 -06:00
parent d954a0ce59
commit cc6f660752
3 changed files with 27 additions and 14 deletions

View file

@ -123,7 +123,7 @@ startDaemon assistant foreground
, pushThread st dstatus commitchan pushmap
, pushRetryThread st pushmap
, mergeThread st
, transferWatcherThread st dstatus
, transferWatcherThread st dstatus transferslots
, transfererThread st dstatus transferqueue transferslots
, daemonStatusThread st dstatus
, sanityCheckerThread st dstatus transferqueue changechan