Commit Graph

50 Commits

Author SHA1 Message Date
Alexander Blasl 1a5db82c26 Renovation 2025-01-16 08:54:02 +01:00
Marcel Pociot 2e4b2f35f9
Apply fixes from StyleCI (#1190) 2024-02-07 18:30:54 +01:00
Marcel Pociot fb958fb851
Merge 2.x changes (#1043)
* Resolve conflicts

* Apply fixes from StyleCI (#1042)
2022-10-06 13:46:54 +02:00
Melvin D. Protacio 171480dee2
Replication fix amendment to #778 (#881)
* fixes on replication

* trying to fix #778 #issuecomment-907319726

* code spacing fixes

* codestyle fixes

* trigger workflow locally
2022-01-05 15:59:37 +01:00
Marcel Pociot f411510f3e
Apply fixes from StyleCI (#892) 2021-11-26 13:32:47 +01:00
Alex Renoki 1bb727f322 Removing higher-order from collection-related tasks 2021-03-30 18:11:58 +03:00
Simon Bühler 0dc2db12c4 style fix 2021-03-04 09:05:48 +01:00
Simon Bühler 6b6197f4f1 fix unsubscribeFromAllChannels / stale connections
the `each->` call silently ran only for the first channel leading to
users on other channels seeming randomly not getting unsubscribed,
stale connections, a frustrated dev and a fishy smell all over the place.

after some serious hours of debugging and searching for this sneaky bug
the websocket-world is now a better place ;)
2021-03-04 08:45:18 +01:00
Simon Bühler 25b5294805 fix never releasing lock 2021-02-23 11:26:10 +01:00
Alex Renoki bf049a346d Added easy extendable methods to change hash names for Redis 2020-12-09 13:45:21 +02:00
Alex Renoki 139608f9aa Removed classes that called only the parent. 2020-12-09 11:37:31 +02:00
Alex Renoki a61cdad1f7 Removed duplicate lock name 2020-12-09 11:37:10 +02:00
Alex Renoki aebc38ff8e Moved $serverId to local channel manager 2020-12-09 11:37:03 +02:00
Alex Renoki cbe4378086 Revert "formatting"
This reverts commit 8308a7d16d.
2020-12-07 23:30:36 +02:00
Alex Renoki b74144cdd5 Revert "wip formatting"
This reverts commit 19ca49a4a8.
2020-12-07 23:30:12 +02:00
Alex Renoki 19ca49a4a8 wip formatting 2020-12-07 20:48:15 +02:00
Alex Renoki 8308a7d16d formatting 2020-12-07 20:36:39 +02:00
Alex Renoki 6be62b149d Reverted connections count 2020-12-07 20:18:58 +02:00
Alex Renoki 0e48bb4944 Fixed key typo 2020-12-07 19:44:26 +02:00
Alex Renoki dc91eb4db3 Fixed fulfilled promise typo (fixes #592) 2020-11-20 15:11:03 +02:00
Kristian Løining 904a97c76f Redis uses query parameter "db", not "database" 2020-11-17 13:41:29 +01:00
Kristian Løining cafd21a0da Fix wrong redis replication connection config path 2020-11-17 13:32:44 +01:00
Alex Renoki 6a04f9ce4c Removed replicator-message-published 2020-10-07 23:28:38 +03:00
Alex Renoki 0ca6355aa6 Fixed constant 2020-10-07 22:56:38 +03:00
Alex Renoki a2dd552805 Added missing logs 2020-10-05 09:25:20 +03:00
Alex Renoki c1bef4db5b Added async redis connection 2020-09-25 22:16:06 +03:00
Alex Renoki 4b484aad48 Fixed store 2020-09-19 18:46:13 +03:00
Alex Renoki 223a789b0d Added local removal for obsolete connections. 2020-09-19 18:38:08 +03:00
rennokki 60c21f3f7b
Apply fixes from StyleCI (#543) 2020-09-19 13:16:46 +02:00
Alex Renoki 5cb2ee9fce Run promises one-after-another 2020-09-19 14:16:26 +03:00
Alex Renoki 9c19546faf Reduced the number of lines 2020-09-18 13:10:44 +03:00
Alex Renoki ed41ad5ca0 Moved tests across classes 2020-09-18 12:53:36 +03:00
Alex Renoki 9a6e8e3dc1 Swapped order for mapWithKeys 2020-09-18 12:31:51 +03:00
Alex Renoki 9856fb62ed Added broadcastLocallyToEveryoneExcept 2020-09-18 11:57:55 +03:00
Alex Renoki 30c6635a91 Passing the Socket ID to the broadcastAcrossServers() 2020-09-18 11:57:10 +03:00
Alex Renoki bb1a03051a userLeftPresenceChannel gets automatically called 2020-09-17 14:17:55 +03:00
Alex Renoki da7f1ba578 Fixed a bug where obsolete data still remained in the server. 2020-09-17 13:57:10 +03:00
Alex Renoki 23e8b3db44 Fixed issues with connections being closed within 10 seconds 2020-09-17 13:56:09 +03:00
Alex Renoki 16ff2aa2b6 Fixed uniqueness 2020-09-17 11:30:36 +03:00
Alex Renoki b7ba98a6a6 Enforce topic subscription 2020-09-17 10:51:01 +03:00
Alex Renoki 97ab241fa3 Fixing PR #530 2020-09-16 11:02:58 +03:00
Alex Renoki 630efa2562 Unsubscribe from all channels in sync mode. 2020-09-15 20:49:28 +03:00
Alex Renoki 5808a6610c Avoid displaying twice the same-id channel members 2020-09-15 20:49:06 +03:00
Alex Renoki 7a17d3529f wip formatting 2020-09-15 17:03:17 +03:00
rennokki 980f9271f0
Apply fixes from StyleCI (#526) 2020-09-15 11:30:43 +02:00
Alex Renoki 55f1332493 Added tracking for pongs 2020-09-15 12:30:17 +03:00
Alex Renoki ec47925c71 Added soft closes for connections on SIGTERM/SIGINT 2020-09-12 17:45:07 +03:00
Alex Renoki 86fbf76a0e Refactored some functions 2020-09-11 23:58:16 +03:00
rennokki 341eb9604f
Apply fixes from StyleCI (#518) 2020-09-10 21:59:49 +02:00
Alex Renoki 6f32b89459 wip 2020-09-10 22:59:26 +03:00