Bump min and max delay to 3000 and 7000 ms respectively
This commit is contained in:
@@ -2,8 +2,8 @@ import { createServer } from 'node:http';
|
|||||||
import { setTimeout } from 'node:timers';
|
import { setTimeout } from 'node:timers';
|
||||||
|
|
||||||
const msg = ':) you are an idiot hahahahaha :)';
|
const msg = ':) you are an idiot hahahahaha :)';
|
||||||
const minDelay = 1000;
|
const minDelay = 3000;
|
||||||
const maxDelay = 5000;
|
const maxDelay = 7000;
|
||||||
const delayDiff = maxDelay - minDelay;
|
const delayDiff = maxDelay - minDelay;
|
||||||
const randomDelay = () => Math.floor(Math.random() * delayDiff + minDelay);
|
const randomDelay = () => Math.floor(Math.random() * delayDiff + minDelay);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user