git-annex/Assistant/Threads
Joey Hess 1d0b692198 webapp: Fix a race that sometimes caused alerts or other notifications to be missed if they occurred while a page was loading.
When a page is loaded, the javascript requests an notification url, and
does long polling on the url to be informed of changes. But if a change
occured before the notification url was requested, it would not be notified
of that change, and so the page display would not update.

I fixed this by *always* updating the page display after it gets
the notification url. This is extra work, but the overhead is not noticable
in the other overhead of loading a page.

(A nicer way would be to somehow record the version of a page initially
loaded, and then compare it with the current version when getting the
notification url, and only force an update if it's changed. But getting
the "version" of the different parts of the page that use long polling
is difficult.)
2013-03-27 14:56:20 -04:00
..
Committer.hs assistant: Fix OSX bug that prevented committing changed files to a repository when in indirect mode. 2013-03-17 17:01:43 -04:00
ConfigMonitor.hs webapp: Now allows restarting any threads that crash. 2013-01-26 17:09:33 +11:00
DaemonStatus.hs webapp: Fix a race that sometimes caused alerts or other notifications to be missed if they occurred while a page was loading. 2013-03-27 14:56:20 -04:00
Glacier.hs add additional debug info about reasons for transfers 2013-03-01 15:23:59 -04:00
Merger.hs let's put type modules under the parent module, not in a Types directory 2013-03-10 22:24:13 -04:00
MountWatcher.hs assistant: Avoid syncing with annex-ignored remotes when reconnecting to the network, or connecting a drive. 2013-03-17 15:59:03 -04:00
NetWatcher.hs assistant: Avoid syncing with annex-ignored remotes when reconnecting to the network, or connecting a drive. 2013-03-17 15:59:03 -04:00
PairListener.hs better liftAnnex, avoid using runAnnex undefined 2013-03-04 16:36:38 -04:00
Pusher.hs webapp: Improved alerts displayed when syncing with remotes, and when syncing with a remote fails. 2013-03-18 17:23:47 -04:00
SanityChecker.hs fixed the race breaking moving files from archive in direct mode 2013-03-04 14:25:22 -04:00
TransferPoller.hs webapp: Fix a race that sometimes caused alerts or other notifications to be missed if they occurred while a page was loading. 2013-03-27 14:56:20 -04:00
Transferrer.hs maintain pools of running transferkeys processes (untested) 2013-03-19 18:46:29 -04:00
TransferScanner.hs move display of transfer scan in progress to transfers section of dashboard 2013-03-19 13:03:41 -04:00
TransferWatcher.hs let's put type modules under the parent module, not in a Types directory 2013-03-10 22:24:13 -04:00
Watcher.hs synthesize RmChange when a directory is deleted 2013-03-11 15:14:42 -04:00
WebApp.hs no longer need webapp state storage! excellent 2013-03-15 01:01:25 -04:00
XMPPClient.hs fix build with xmpp and w/o webapp 2013-03-24 18:55:19 -04:00