git-annex/Assistant
Joey Hess 14d96b8e06 XMPP: Be better at responding to CanPush messages when busy with something else.
Observed: With 2 xmpp clients, one would sometimes stop responding
to CanPush messages. Often it was in the middle of a receive-pack
of its own (or was waiting for a failed one to time out).

Now these are always immediately responded to, which is fine; the point
of CanPush is to find out if there's another client out there that's
interested in our push.

Also, in queueNetPushMessage, queue push initiation messages when
we're already running the side of the push they would initiate.
Before, these messages were sent into the netMessagesPush channel,
which was wrong. The xmpp send-pack and receive-pack code discarded
such messages.

This still doesn't make XMPP push 100% robust. In testing, I am seeing
it sometimes try to run two send-packs, or two receive-packs at once
to the same client (probably because the client sent two requests).

Also, I'm seeing rather a lot of cases where it stalls out until it
runs into the 120 second timeout and cancels a push.

And finally, there seems to be a bug in runPush. I have logs that
show it running its setup action, but never its cleanup action.
How is this possible given its use of E.bracket? Either some exception
is finding its way through, or the action somehow stalls forever.
When this happens, one of the 2 clients stops syncing.
2013-05-21 00:59:38 -04:00
..
Alert refactor alert button creation code 2013-04-04 01:48:26 -04:00
Install fix osx build 2013-04-22 11:24:48 -04:00
Pairing proof of concept remote reordering UI (needs to be changed to use drag and drop) 2013-03-13 17:59:33 -04:00
Threads XMPP: Be better at responding to CanPush messages when busy with something else. 2013-05-21 00:59:38 -04:00
Types XMPP: Be better at responding to CanPush messages when busy with something else. 2013-05-21 00:59:38 -04:00
WebApp fix build 2013-05-12 19:13:38 -04:00
XMPP XMPP: Be better at responding to CanPush messages when busy with something else. 2013-05-21 00:59:38 -04:00
Alert.hs show one alert when bulk adding files 2013-04-24 13:04:46 -04:00
BranchChange.hs split BranchChange and lifted 2012-10-29 19:20:54 -04:00
Changes.hs use DList for the transfer queue 2013-04-25 01:33:44 -04:00
Commits.hs remove last use of TSet 2013-04-24 17:16:04 -04:00
Common.hs refactor alert button creation code 2013-04-04 01:48:26 -04:00
DaemonStatus.hs rename module 2013-05-12 19:19:28 -04:00
DeleteRemote.hs assistant: When built with git before 1.8.0, use git remote rm to delete a remote. Newer git uses git remote remove. 2013-04-22 16:53:09 -04:00
Drop.hs fix dropping files from untrusted repositories 2013-03-31 18:39:49 -04:00
Install.hs rename module 2013-05-12 19:19:28 -04:00
MakeRemote.hs webapp: Now automatically fills in any creds used by an existing remote when creating a new remote of the same type. Done for Internet Archive, S3, Glacier, and Box.com remotes. 2013-04-27 15:16:06 -04:00
Monad.hs Switch to MonadCatchIO-transformers for better handling of state while catching exceptions. 2013-05-19 14:16:36 -04:00
NamedThread.hs refactor alert button creation code 2013-04-04 01:48:26 -04:00
NetMessager.hs XMPP: Be better at responding to CanPush messages when busy with something else. 2013-05-21 00:59:38 -04:00
Pairing.hs Makefile now builds using cabal, taking advantage of cabal's automatic detection of appropriate build flags. 2013-02-27 02:39:22 -04:00
Pushes.hs whitespace fixes 2012-12-13 00:45:27 -04:00
ScanRemotes.hs where indentation 2012-10-31 02:34:03 -04:00
Ssh.hs rename module 2013-05-12 19:19:28 -04:00
Sync.hs add uuid to all xmpp messages 2013-04-30 13:22:55 -04:00
TransferQueue.hs use DList for the transfer queue 2013-04-25 01:33:44 -04:00
TransferrerPool.hs 2 minor fixes to transferkeys, otherwise it was perfect 1st time! 2013-03-20 13:24:35 -04:00
TransferSlots.hs maintain pools of running transferkeys processes (untested) 2013-03-19 18:46:29 -04:00
WebApp.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
XMPP.hs add uuid to all xmpp messages 2013-04-30 13:22:55 -04:00