git-annex/Assistant/Threads
Joey Hess 68ad7de4d0 watch for changes to transfer info files, to update progress bars on upload
This is handled differently for inotify, which can track modifications of
existing files, and kqueue, which cannot (TTBOMK). On the inotify side,
the TransferWatcher just waits for the file to be updated and reads the new
bytesComplete. On the kqueue side, the TransferPoller has to re-read the
file every update (currently 0.5 seconds, might need to increase that).

I did think about working around kqueue's limitations by somehow creating
a new file each time the size changed. But cleaning up all the files that
would result seemed difficult. And really, this is not a lot worse than
the TransferWatcher's behavior for downloads, which stats a file every 0.5
seconds. As long as the OS has decent file caching behavior..
2012-09-20 17:24:40 -04:00
..
Committer.hs support old versions of git that do not have --allow-empty-message 2012-09-19 12:58:53 -04:00
DaemonStatus.hs display errors when any named thread crashes 2012-09-06 14:56:04 -04:00
Merger.hs run current branch merge in annex monad 2012-09-17 22:04:43 -04:00
MountWatcher.hs display errors when any named thread crashes 2012-09-06 14:56:04 -04:00
NetWatcher.hs hlint 2012-09-13 00:57:52 -04:00
PairListener.hs hlint 2012-09-13 00:57:52 -04:00
Pusher.hs hlint 2012-09-13 00:57:52 -04:00
SanityChecker.hs add annex.delayadd configuration 2012-09-19 13:30:25 -04:00
TransferPoller.hs watch for changes to transfer info files, to update progress bars on upload 2012-09-20 17:24:40 -04:00
Transferrer.hs when a Download finishes, queue Uploads 2012-09-18 14:10:33 -04:00
TransferScanner.hs cleanup 2012-09-17 14:58:43 -04:00
TransferWatcher.hs watch for changes to transfer info files, to update progress bars on upload 2012-09-20 17:24:40 -04:00
Watcher.hs watch for changes to transfer info files, to update progress bars on upload 2012-09-20 17:24:40 -04:00
WebApp.hs make other repositories list list all autostarted repos 2012-09-18 17:50:07 -04:00