Throttle video queues

This commit is contained in:
calzoneman 2013-04-24 12:45:17 -05:00
parent dc5fa70017
commit 19d778e8ba
1 changed files with 5 additions and 0 deletions

View File

@ -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);
}