git-annex/Assistant
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
..
Pairing flip catchDefaultIO 2012-09-17 00:18:07 -04:00
Threads watch for changes to transfer info files, to update progress bars on upload 2012-09-20 17:24:40 -04:00
WebApp renamed RsyncFile -> Rsync 2012-09-19 14:28:32 -04:00
Alert.hs hlint 2012-09-13 00:57:52 -04:00
Changes.hs license 2012-06-23 01:20:40 -04:00
Commits.hs license 2012-06-23 01:20:40 -04:00
Common.hs display errors when any named thread crashes 2012-09-06 14:56:04 -04:00
DaemonStatus.hs flip catchDefaultIO 2012-09-17 00:18:07 -04:00
MakeRemote.hs hlint 2012-09-13 00:57:52 -04:00
Pairing.hs hlint 2012-09-13 00:57:52 -04:00
Pushes.hs use a TMVar 2012-06-26 19:21:44 -04:00
ScanRemotes.hs scan multiple remotes in one pass 2012-08-26 14:09:02 -04:00
Ssh.hs UI for enabling special remotes 2012-09-13 16:50:02 -04:00
Sync.hs better name for fallback sync refs 2012-09-16 23:09:08 -04:00
ThreadedMonad.hs fork off git-annex copy for transfers 2012-08-10 14:14:08 -04:00
TransferQueue.hs make other repositories list list all autostarted repos 2012-09-18 17:50:07 -04:00
TransferSlots.hs hlint 2012-09-13 00:57:52 -04:00
WebApp.hs make other repositories list list all autostarted repos 2012-09-18 17:50:07 -04:00