summaryrefslogtreecommitdiff
path: root/doc/design
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-03-06 21:33:08 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-03-06 21:38:01 -0400
commitef3ee84450798af5f9908e50e25c8d819594e971 (patch)
tree9e2d38264d8d815f4f39064299a4d1590ca54fa2 /doc/design
parent8f5a55803bc88582220bbbaca85e5025e9d2b053 (diff)
assistant: XMPP git pull and push requests are cached and sent when presence of a new client is detected.
Noticed that, At startup or network reconnect, git push messages were sent, often before presence info has been gathered, so were not sent to any buddies. To fix this, keep track of which buddies have seen such messages, and when new presence is received from a buddy that has not yet seen it, resend. This is done only for push initiation messages, so very little data needs to be stored.
Diffstat (limited to 'doc/design')
-rw-r--r--doc/design/assistant/xmpp.mdwn4
1 files changed, 0 insertions, 4 deletions
diff --git a/doc/design/assistant/xmpp.mdwn b/doc/design/assistant/xmpp.mdwn
index 0436fb787..fed79527e 100644
--- a/doc/design/assistant/xmpp.mdwn
+++ b/doc/design/assistant/xmpp.mdwn
@@ -14,10 +14,6 @@ who share a repository, that is stored in the [[cloud]].
push notification use of XMPP, since unknown UUIDs will just be ignored.
But XMPP pairing and the pushes over XMPP assume that anyone you're
paired with is intending to sync to your repository.
-* At startup or network reconnect, git push messages are sent, often before
- presence info has been gathered, so are not sent to any buddies.
- Need to cache the last sent CanPush and PushRequest NetMessages for each
- buddy, and when a new client is seen, resend.
## design goals