mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-21 16:52:04 -07:00
fix(rate-limits): Further slowing down anon freeloaders
This commit is contained in:
@@ -35,7 +35,7 @@ const config = require('../../config')
|
|||||||
|
|
||||||
// The amount of delay in milliseconds to add to anonymous requests, in order
|
// The amount of delay in milliseconds to add to anonymous requests, in order
|
||||||
// to slow down freeloaders that are hitting the system too hard.
|
// to slow down freeloaders that are hitting the system too hard.
|
||||||
const ANON_DELAY = 1000
|
const ANON_DELAY = 3000
|
||||||
|
|
||||||
let _this // Global pointer to instance of class, when 'this' context is lost.
|
let _this // Global pointer to instance of class, when 'this' context is lost.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user