From 2391507cda4cf7e4753f93852f94c1b1ac7ddd1e Mon Sep 17 00:00:00 2001 From: Can Kurttekin Date: Fri, 4 Oct 2024 13:33:56 +0300 Subject: [PATCH] shorter sleep interval --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index f5159f1..ef0600e 100644 --- a/app.js +++ b/app.js @@ -318,8 +318,8 @@ async function startSearch(){ //document.getElementById("status").innerHTML += 'Searching...
'; await fetchTrips(); - // Sleep for a random time between 8 and 42 seconds - await randomSleep(8, 42); + // Sleep for a random time between x and y seconds + await randomSleep(1, 15); } for (let i = 0; i < 4; i++) { setTimeout(function() {