Update message and max delay

This commit is contained in:
2025-09-27 10:38:03 +02:00
parent a9ee81c3c4
commit ed11b2d15d

View File

@@ -1,9 +1,9 @@
import { createServer } from 'node:http'; import { createServer } from 'node:http';
import { setTimeout } from 'node:timers'; import { setTimeout } from 'node:timers';
const msg = ':) you are an idiot hahahahaha :)'; const msg = 'Relax, take it easy! For there is nothing that we can do.';
const minDelay = 3000; const minDelay = 3000;
const maxDelay = 7000; const maxDelay = 5000;
const delayDiff = maxDelay - minDelay; const delayDiff = maxDelay - minDelay;
const randomDelay = () => Math.floor(Math.random() * delayDiff + minDelay); const randomDelay = () => Math.floor(Math.random() * delayDiff + minDelay);