Commit Graph

14 Commits

Author SHA1 Message Date
vyzo df04b05234 protect direct and mesh peers in the connection manager 2020-06-03 23:30:48 +03:00
Yusef Napora d4b7c255c6 rm empty slice alloc 2020-05-19 19:26:53 +03:00
Yusef Napora 2f9a678f2e inline decayingDeliveryTag method into addDeliveryTag 2020-05-19 19:26:53 +03:00
Yusef Napora b20819d046 close decaying tags when leaving topic 2020-05-19 19:26:53 +03:00
Yusef Napora a70cfa5e07 rm misleading comment 2020-05-19 19:26:53 +03:00
Yusef Napora b109c4ceee check reject reason before deleting near-first state 2020-05-19 19:26:53 +03:00
Yusef Napora 2e9c9f0b0a update dependencies and use preset decay fns 2020-05-19 19:26:53 +03:00
Yusef Napora 64e1b8b0d4 use map to track near-first deliveries in tagTracer 2020-05-19 19:26:53 +03:00
Yusef Napora cc0ba20627 free up drec.peers when we're done with it 2020-05-19 19:26:53 +03:00
Yusef Napora 9c730661bc add delivery tags for "near-first" msg deliveries 2020-05-19 19:26:53 +03:00
Yusef Napora 8e4a9489c2 lock for reading in bumpDeliveryTag 2020-05-19 19:26:53 +03:00
Yusef Napora 2312cddaff add nil check for decayer 2020-05-19 19:26:53 +03:00
Yusef Napora 51369f756f increase decaying tag interval 2020-05-19 19:26:53 +03:00
Yusef Napora 28d17a4cab add tagTracer to apply connmgr tags 2020-05-19 19:26:53 +03:00