fab88a380e
This change fixes pterodactyl/panel#3921 by implementing logic to drop the oldest message in a channel and push the newest message onto the channel when the channel buffer is full. This is distinctly different than the previous implementation which just dropped the newest messages, leading to confusing behavior on the client side when a large amount of data was sent over the connection. Up to 10ms per channel is allowed for blocking before falling back to the drop logic. |
||
---|---|---|
.. | ||
downloader | ||
middleware | ||
tokens | ||
websocket | ||
error.go | ||
middleware.go | ||
router_download.go | ||
router_server_backup.go | ||
router_server_files.go | ||
router_server_ws.go | ||
router_server.go | ||
router_system.go | ||
router_transfer.go | ||
router.go |