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.
This commit is contained in:
parent
d76e281de0
commit
c16adc25c4
5 changed files with 106 additions and 20 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue