fix cleanup

This commit is contained in:
Fabian Jakobs 2017-06-08 14:32:17 +00:00
parent aa4c540c6e
commit 97aa3d17bd

2
node_modules/c9/ratelimit.js generated vendored
View File

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