nit on bench scripts

This commit is contained in:
Ruben Fiszel
2025-02-17 19:26:34 +01:00
committed by Guilhem
parent 8641a7e95f
commit 731802a186

View File

@@ -284,7 +284,7 @@ export async function main({
const loopStart = Date.now();
if (!didStart) {
const actual_queue = await getQueueCount();
if (actual_queue < jobsSent + otherTagTodo) {
if (actual_queue < jobsSent + (testOtherTag ? otherTagTodo : 0)) {
start = Date.now();
didStart = true;
}