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. |
||
---|---|---|
.. | ||
backup | ||
filesystem | ||
backup.go | ||
config_parser.go | ||
configuration.go | ||
console.go | ||
crash.go | ||
errors.go | ||
events.go | ||
install.go | ||
listeners.go | ||
manager.go | ||
mounts.go | ||
power_test.go | ||
power.go | ||
resources.go | ||
server.go | ||
sink_test.go | ||
sink.go | ||
update.go | ||
websockets.go |