Bump min and max delay to 3000 and 7000 ms respectively

This commit is contained in:
2024-08-10 00:50:35 +02:00
parent b7c9ff1c68
commit e96d3092f5

View File

@@ -2,8 +2,8 @@ import { createServer } from 'node:http';
import { setTimeout } from 'node:timers';
const msg = ':) you are an idiot hahahahaha :)';
const minDelay = 1000;
const maxDelay = 5000;
const minDelay = 3000;
const maxDelay = 7000;
const delayDiff = maxDelay - minDelay;
const randomDelay = () => Math.floor(Math.random() * delayDiff + minDelay);