Skip to content

Commit 2230614

Browse files
committed
fix(config): fut requests per second can be set till 0.01 now
1 parent b90a1d6 commit 2230614

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ function validateConfig(c: EnvConfig) {
125125
`FUTBOT_FUT_REQUESTS_PER_SEC=${c.FUTBOT_FUT_REQUESTS_PER_SEC} is too high, you'll require verification really soon`
126126
);
127127
}
128-
if (c.FUTBOT_FUT_REQUESTS_PER_SEC < 0.1) {
129-
throw new Error('FUTBOT_FUT_REQUESTS_PER_SEC cannot be smaller than 0.1');
128+
if (c.FUTBOT_FUT_REQUESTS_PER_SEC < 0.01) {
129+
throw new Error('FUTBOT_FUT_REQUESTS_PER_SEC cannot be smaller than 0.01');
130130
}
131131
if (c.FUTBOT_FUTBIN_REQUESTS_PER_SEC > 3) {
132132
logger.warn(

0 commit comments

Comments
 (0)