fix setting timeout duration error

This commit is contained in:
Ruben Fiszel
2022-12-17 13:41:33 +01:00
parent 576103e3b3
commit d2ab628122
+1 -1
View File
@@ -2218,7 +2218,7 @@ async fn handle_child(
, canceled_by = 'timeout'
, canceled_reason = $1
WHERE id = $2
r"#,
"#,
)
.bind(format!("duration > {}", timeout.as_secs()))
.bind(job_id)