Raise regex timeout from 100ms to 250ms
This commit is contained in:
parent
ad52ace055
commit
ffc25791ca
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ export function allowTimeout(err: RegExpTimeoutError | Error) {
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
|
|
||||||
const REGEX_TIMEOUT = 100; // ms
|
const REGEX_TIMEOUT = 250; // ms
|
||||||
|
|
||||||
const REGEX_FAIL_TO_COOLDOWN_COUNT = 3; // If a regex fails this many times, it goes on cooldown...
|
const REGEX_FAIL_TO_COOLDOWN_COUNT = 3; // If a regex fails this many times, it goes on cooldown...
|
||||||
const REGEX_FAIL_COOLDOWN = 5 * MINUTES; // ...for this long
|
const REGEX_FAIL_COOLDOWN = 5 * MINUTES; // ...for this long
|
||||||
|
|
Loading…
Add table
Reference in a new issue