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…
Reference in a new issue