This commit is contained in:
parent
b333f3cf77
commit
e976c8d47f
@ -1,14 +1,14 @@
|
||||
class RateLimiter {
|
||||
// class RateLimiter {
|
||||
|
||||
constructor (server, options = {}) {
|
||||
this.server = server;
|
||||
this.cache = server.memoryCache;
|
||||
}
|
||||
// constructor (server, options = {}) {
|
||||
// this.server = server;
|
||||
// this.cache = server.memoryCache;
|
||||
// }
|
||||
|
||||
throttle (req, res, next) {
|
||||
// throttle (req, res, next) {
|
||||
|
||||
}
|
||||
// }
|
||||
|
||||
}
|
||||
// }
|
||||
|
||||
module.exports = RateLimiter;
|
||||
// module.exports = RateLimiter;
|
Loading…
Reference in New Issue
Block a user