nit improve benchmarks

This commit is contained in:
Ruben Fiszel
2024-03-24 18:17:07 +01:00
parent c15eeff3ea
commit ecedd13d68
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1845,7 +1845,7 @@ async fn pull_single_job_and_mark_as_running_no_concurrency_limit<
LIMIT 1
)
RETURNING id, workspace_id, parent_job, created_by, created_at, started_at, scheduled_for,
running, script_hash, script_path, args, right(logs, 20000000) as logs, raw_code, canceled, canceled_by,
running, script_hash, script_path, args, null as logs, raw_code, canceled, canceled_by,
canceled_reason, last_ping, job_kind, env_id, schedule_path, permissioned_as,
flow_status, raw_flow, is_flow_step, language, suspend, suspend_until,
same_worker, raw_lock, pre_run_error, email, visible_to_owner, mem_peak,
@@ -1883,7 +1883,7 @@ async fn pull_single_job_and_mark_as_running_no_concurrency_limit<
LIMIT 1
)
RETURNING id, workspace_id, parent_job, created_by, created_at, started_at, scheduled_for,
running, script_hash, script_path, args, right(logs, 20000000) as logs, raw_code, canceled, canceled_by,
running, script_hash, script_path, args, null as logs, raw_code, canceled, canceled_by,
canceled_reason, last_ping, job_kind, env_id, schedule_path, permissioned_as,
flow_status, raw_flow, is_flow_step, language, suspend, suspend_until,
same_worker, raw_lock, pre_run_error, email, visible_to_owner, mem_peak,
+1 -1
View File
@@ -38,7 +38,7 @@ async function warmUp(
token,
workspace,
kind: "noop",
jobs: 5000,
jobs: 50000,
});
}