mirror of
https://github.com/mastodon/flodgatt
synced 2025-04-11 22:58:25 +02:00

This commit tracks the existence of the SSE stream and closes the connection to the redis pub/sub channel when the stream is closed. This prevents the number of redis connections from growing over time. Note, however, that the current code still subscribes to one redis channel per SSE connection rather than reusing existing subscriptions. This will need to be fixed in a later PR.
RageQuit
A blazingly fast drop-in replacement for the Mastodon streaming api server
Usage
$ ragequit --port 4002 # Default port is 3666
Languages
Rust
99.7%
Shell
0.3%