mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
fix: increase recursion threshold limit and window for improved request handling
This commit is contained in:
@@ -296,11 +296,11 @@ export const Env = cleanEnv(process.env, {
|
||||
}),
|
||||
|
||||
RECURSION_THRESHOLD_LIMIT: num({
|
||||
default: 30,
|
||||
default: 60,
|
||||
desc: 'Maximum number of requests to the same URL',
|
||||
}),
|
||||
RECURSION_THRESHOLD_WINDOW: num({
|
||||
default: 5,
|
||||
default: 10,
|
||||
desc: 'Time window for recursion threshold in seconds',
|
||||
}),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user