Skip to content

Commit

Permalink
Refactoring cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cellcrowd committed Mar 24, 2020
1 parent 92f4f48 commit fe32cfe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/memory-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ function MemoryStore(windowMs) {
// export an API to allow hits from one IP to be reset
this.resetKey = function(key) {
delete hits[key];
delete resetTime[key];
};

// simply reset ALL hits every windowMs
Expand Down

0 comments on commit fe32cfe

Please sign in to comment.