Skip to content

Commit

Permalink
shorter sleep interval
Browse files Browse the repository at this point in the history
  • Loading branch information
cankurttekin authored Oct 4, 2024
1 parent 9b87b59 commit 2391507
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ async function startSearch(){
//document.getElementById("status").innerHTML += 'Searching...<br />';
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() {
Expand Down

0 comments on commit 2391507

Please sign in to comment.