mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 07:05:05 -04:00
remove reconnect function
This commit is contained in:
parent
1b7aced340
commit
59671a751b
2 changed files with 3 additions and 9 deletions
2
index.js
2
index.js
|
@ -52,7 +52,7 @@ const http = require('http');
|
|||
|
||||
const limiter = RateLimit({
|
||||
windowMs: 5 * 60 * 1000, // 5 minutes
|
||||
max: 100, // Limit each IP to 100 requests per `window` (here, per 5 minutes)
|
||||
max: 1000, // Limit each IP to 100 requests per `window` (here, per 5 minutes)
|
||||
message: 'Too many requests from this IP Address, please try again after 5 minutes.',
|
||||
standardHeaders: true, // Return rate limit info in the `RateLimit-*` headers
|
||||
legacyHeaders: false, // Disable the `X-RateLimit-*` headers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue