mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-14 03:32:06 +00:00
Throttle video queues
This commit is contained in:
parent
dc5fa70017
commit
19d778e8ba
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue