- new
channels
API command – allows to get list of active channnels in project at moment (with one or more subscribers). message_send_timeout
option default value is now 0 (last default value was 60 seconds) i.e. send timeout is not used by default. This means that Centrifugo won't start lots of goroutines and timers for every message sent to client. This helps to drastically reduce memory allocations. But in this case it's recommended to keep Centrifugo behind properly configured reverse proxy like Nginx to deal with connection edge cases - slow reads, slow writes etc.- Centrifugo now sends pings into pure Websocket connections. Default value is 25 seconds and can be adjusted using
ping_interval
configuration option. Note that this option also sets SockJS heartbeat messages interval. This opens a road to set reasonable value for Nginxproxy_read_timeout
for/connection
location to mimic behaviour ofmessage_send_timeout
which is now not used by default - improvements in Redis Engine locking.
- tests now require Redis instance running to test Redis engine. Tests use Redis database 9 to run commands and if that database is not empty then tests will fail to prevent corrupting existing data.
- all dependencies now vendored.