1
0
mirror of https://github.com/mastodon/flodgatt synced 2025-04-11 22:58:25 +02:00
Daniel Sockwell f676e51ce4 Add limit on number of active streams
This commit tracks the number of active Pub/Sub streams and adds code to
keep the total number of streams below 400.  (When additional users
attempt to connect past that point, the server will wait for an slot
to open up).  This prevents "too many open file" panics and makes the
server better behaved in general.  However, we may need to revisit it
based on what capacity we want the server to have.

This commit also includes some general refactoring.
2019-04-23 14:07:49 -04:00
2019-04-23 14:07:49 -04:00
2019-02-11 09:45:14 +01:00
2019-04-18 15:47:08 -04:00
2019-04-18 15:47:08 -04:00
2019-02-08 10:35:26 +01:00
2019-02-11 09:45:14 +01:00

RageQuit

A blazingly fast drop-in replacement for the Mastodon streaming api server

Usage

$ ragequit --port 4002    # Default port is 3666
Description
A blazingly fast drop-in replacement for the Mastodon streaming API server
Readme AGPL-3.0 938 KiB
Languages
Rust 99.7%
Shell 0.3%