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-03-05 09:19:38 -05:00
2019-03-05 09:23:44 -05:00
2019-02-15 10:22:35 +01:00
2019-02-19 20:29:32 +01:00
2019-04-19 17:06:29 -04:00
2019-04-23 14:07:49 -04:00
2019-04-23 14:07:49 -04:00
2019-04-19 12:16:03 -04:00