forked from Shared/esg
Add health check and retry logic and circuit breaker
This commit is contained in:
@@ -67,6 +67,7 @@ export default () => ({
|
||||
bcryptSaltRounds: parseInt(process.env.BCRYPT_SALT_ROUNDS ?? '12', 10),
|
||||
},
|
||||
throttle: {
|
||||
enabled: process.env.RATE_LIMIT_ENABLED !== 'false',
|
||||
ttl: parseInt(process.env.THROTTLE_TTL ?? '60', 10),
|
||||
limit: parseInt(process.env.THROTTLE_LIMIT ?? '100', 10),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user