contact and group retry logic update and connection awareness #276

Manually merged
sarah merged 1 commits from dan/cwtch:reconncect into master 2019-09-28 03:43:09 +00:00
Owner
  • make contact retry plugin acn connection state aware
  • make contact retry plugin do groups
  • remove connectionManager bad retry logic
  • allow queringing of ACN status
- make contact retry plugin acn connection state aware - make contact retry plugin do groups - remove connectionManager bad retry logic - allow queringing of ACN status
sarah was assigned by dan 2019-09-26 23:45:36 +00:00
Member
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/cwtch/637
Member
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/cwtch/638
sarah reviewed 2019-09-26 23:56:24 +00:00
@ -14,0 +13,4 @@
type contactType int
const (
peerType contactType = iota
Owner

Is is a peer type or a contact type (I prefer peer, contact has specific semantics that'd like to avoid)

Is is a peer type or a contact type (I prefer peer, contact has specific semantics that'd like to avoid)
Author
Owner

what do we call what is both groups and peers?

what do we call what is both groups and peers?
Author
Owner

change to connectionType and peerConn and groupConn

change to connectionType and peerConn and groupConn
@ -25,3 +34,3 @@
breakChan chan bool
peers sync.Map //[string]*peer
peers sync.Map //[string]*contact
Owner

peers or contacts?

peers or contacts?
Author
Owner

yeah the var should be called 'contacts' or? (as it has peers and groups)

yeah the var should be called 'contacts' or? (as it has peers and groups)
Author
Owner

Updated.
Also the previous group retry code was very bad (one uniform timeout for all conns!?! and no connection awareness.) while moving forward separate managers may be wanted, for now this is a huge improvement

Updated. Also the previous group retry code was very bad (one uniform timeout for all conns!?! and no connection awareness.) while moving forward separate managers may be wanted, for now this is a huge improvement
Member
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/cwtch/639
Member
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/cwtch/640
sarah closed this pull request 2019-09-28 03:43:09 +00:00
sarah closed this pull request 2019-09-28 03:43:09 +00:00
Sign in to join this conversation.
No description provided.