We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caff424 commit c54ced5Copy full SHA for c54ced5
src/config.ts
@@ -175,7 +175,7 @@ export const CONFIG: Config = {
175
aalgWarmup: Boolean(process.env.AALG_WARMUP) || true,
176
aalgWarmupServiceTPS: 10,
177
recordTxStatus: false, // not safe for production, keep this off. Known issue.
178
- rateLimit: true,
+ rateLimit: process.env.RATE_LIMIT ? process.env.RATE_LIMIT === 'true' : true, // if RATE_LIMIT is not set, default to true
179
rateLimitOption: {
180
softReject: true,
181
limitFromAddress: true,
0 commit comments