mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
fix cleanup
This commit is contained in:
parent
aa4c540c6e
commit
97aa3d17bd
2
node_modules/c9/ratelimit.js
generated
vendored
2
node_modules/c9/ratelimit.js
generated
vendored
@ -31,7 +31,7 @@ function ratelimit(key, duration, max) {
|
||||
setInterval(function() {
|
||||
Object.keys(buckets).forEach(function(handle) {
|
||||
var bucket = buckets[handle];
|
||||
if (bucket.bucket.content === 0) {
|
||||
if (bucket.tokenBucket.content === 0) {
|
||||
delete buckets[handle];
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user