T-7: M0.3a — Harden dev Mongo safety: env-safety throws on unsafe data-pipeline QA reads, scheduled jobs default off, read-only bypass tests
This commit is contained in:
parent
abbab4b5a8
commit
0e5ebbd62f
9 changed files with 425 additions and 29 deletions
|
|
@ -42,7 +42,7 @@ export async function removeScheduledJobsFromBullQueue(
|
|||
}
|
||||
}
|
||||
|
||||
const pendingJobs = await bullQueue.getJobs(['waiting', 'delayed']);
|
||||
const pendingJobs = await bullQueue.getJobs(['waiting', 'delayed', 'prioritized']);
|
||||
for (const job of pendingJobs) {
|
||||
const repeatKey = job?.repeatJobKey ?? job?.opts?.repeatJobKey;
|
||||
if (repeatKey) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue