Commit Graph

12 Commits

Author SHA1 Message Date
tidwall 193bce17c1 Fix followers not receiving channel messages
This commit fixes a bug where the leader was not propagating to
the followers.

See #468
2024-06-26 08:30:50 -07:00
Chris Rice c45170d211 Use the right MSG variable? 2023-07-26 11:47:11 -07:00
Chris Rice 61b5023000 Change PING output to match REDIS protocol 2023-07-06 19:14:28 -07:00
Chris Rice 564b64a758 Syntax matching sugar 2023-07-06 16:29:40 -07:00
Chris Rice ec47a58ba1 Fix ERR only (P)SUBSCRIBE / (P)UNSUBSCRIBE / PING / QUIT allowed in this context #694 2023-07-06 15:13:07 -07:00
tidwall 8608ed0917 Replace abool/aint with new go 1.19 atomics 2022-09-27 10:15:31 -07:00
tidwall 6b08f7fa9e Code cleanup
- Removed unused functions and variables
- Wrapped client formatted errors
- Updated deprecated packages
- Changed suggested code patterns
2021-03-31 08:13:44 -07:00
tidwall c084aeedc2 Code cleanup
This commit cleans up various Go code in the internal directory.
- Ensures comments on exported functions
- Changes all *Server receiver in all files to be "s", instead
  of mixed "c", "s", "server", etc.
- Silenced Go warnings for if/else with returns.
- Cleaned up import ordering.
2019-10-30 10:17:59 -07:00
tidwall 10f7bfc445 Fix invalid pubsub format for json output
This commit fixes a bug that causes bad formatting for geofence
notifications when a client's output is set to JSON.

closes #499
2019-10-28 12:51:44 -07:00
Josh Baker aa73fcd17b Added unsubscribing from active channel
related #448
2019-06-04 13:49:32 -07:00
tidwall 762607dc0a Added geofence delivery counter 2019-03-14 11:23:23 -07:00
tidwall 555e47036c Replaced net package with evio
- Added threads startup flag
- Replaced net package with evio
- Refactored controller into server
2018-10-28 15:51:47 -07:00