Review funkt
This commit is contained in:
3
node_modules/bullmq/dist/esm/postgres/commands/trim_logs.sql
generated
vendored
Normal file
3
node_modules/bullmq/dist/esm/postgres/commands/trim_logs.sql
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
-- Trim a job's oldest logs. Params: $1 queue, $2 job_id, $3 min_idx_to_keep.
|
||||
DELETE FROM job_log
|
||||
WHERE queue = $1 AND job_id = $2 AND idx < $3;
|
||||
Reference in New Issue
Block a user