Update jobs.rs

This commit is contained in:
Ruben Fiszel
2023-07-24 21:54:24 +03:00
committed by GitHub
parent 0f48c19d5a
commit ac6c0e033c

View File

@@ -101,7 +101,7 @@ lazy_static::lazy_static! {
ORDER BY scheduled_for, created_at
FOR UPDATE SKIP LOCKED
LIMIT 1
) LIMIT 1
)
RETURNING *",
format!(" AND ({})",
ACCEPTED_TAGS.clone().into_iter().map(|x| format!("(tag = '{x}')")).join(" OR "))