mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
Configure docker-compose.yml and environment.ts to add rate limit toggle
This commit is contained in:
@@ -9,3 +9,5 @@ export const PARKING_HISTORICAL_AVERAGE_MINIMUM_INTERVAL = process.env.PARKING_H
|
||||
export const PARKING_HISTORICAL_AVERAGE_MAXIMUM_TIMESPAN = process.env.PARKING_HISTORICAL_AVERAGE_MAXIMUM_TIMESPAN
|
||||
? parseInt(process.env.PARKING_HISTORICAL_AVERAGE_MAXIMUM_TIMESPAN)
|
||||
: 60000 * 60 * 24;
|
||||
|
||||
export const RATE_LIMITS_DISABLED = process.env.RATE_LIMITS_DISABLED !== undefined;
|
||||
|
||||
Reference in New Issue
Block a user