Miguel de la Cruz ce98ec55fc
Recovers inactive websockets connections on reconnect in plugin mode (#1324)
* Stores a cache of inactive connections so their subscriptions are recovered on reconnections

* Adds test for getUserIDsForWorkspace and simplify messages through helpers

* Make the plugin websocket client more resilient

* Remove missed event callback and limit ws state polling to one at a time

* Add read lock for the plugin adapter and guarantee atomic ops on inactiveAt

* Add mutex to the plugin adapter client and tests to cover for races

* Split plugin adapter mutex in two and use them to lock only on data access

* Group plugin adapter fields by the mutex that's guarding them
2021-09-29 18:19:34 +02:00
..
2020-10-20 12:50:53 -07:00
2021-09-28 09:51:32 -04:00
2021-09-28 09:51:32 -04:00
2021-09-28 09:51:32 -04:00
2020-12-18 12:52:45 -08:00
2021-05-10 07:46:07 +02:00
2021-09-17 12:56:47 -07:00
2021-09-17 12:56:47 -07:00
2020-12-10 13:45:56 -08:00
2021-09-28 09:51:32 -04:00