Skip to content

Commit

Permalink
math.min
Browse files Browse the repository at this point in the history
  • Loading branch information
salazarm committed Oct 25, 2023
1 parent d4a6ce0 commit ff6f463
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ async function _batchedQueryAssets(
};
});

setTimeout(doNextFetch, 5000);
setTimeout(doNextFetch, Math.min(pollRate, 5000));
}
}

Expand Down

0 comments on commit ff6f463

Please sign in to comment.