Christian's thresholds for throttling

This commit is contained in:
Florian Dold 2019-12-15 17:00:22 +01:00
parent 4966376839
commit 985c90e0ad
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -26,7 +26,7 @@ import { getTimestampNow, Timestamp } from "../types/walletTypes";
/**
* Maximum request per second, per origin.
*/
const MAX_PER_SECOND = 20;
const MAX_PER_SECOND = 50;
/**
* Maximum request per minute, per origin.
@ -36,7 +36,7 @@ const MAX_PER_MINUTE = 100;
/**
* Maximum request per hour, per origin.
*/
const MAX_PER_HOUR = 5000;
const MAX_PER_HOUR = 1000;
/**