mirror of
https://github.com/calzoneman/sync.git
synced 2024-09-13 04:32:09 +00:00
Throttle video queues
This commit is contained in:
parent
dc5fa70017
commit
19d778e8ba
@ -651,6 +651,11 @@ Channel.prototype.tryQueue = function(user, data) {
|
||||
!this.opts.qopen_allow_qnext) {
|
||||
return;
|
||||
}
|
||||
|
||||
if(user.noflood("queue", 0.25)) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.enqueue(data);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user