Fix background job processing
This commit is contained in:
parent
3f16f59d97
commit
47ac73e5a7
1 changed files with 5 additions and 1 deletions
|
|
@ -60,7 +60,11 @@ SELECT timestamp, status
|
|||
FROM latest_build_status
|
||||
WHERE build_id = $1")
|
||||
|
||||
(exec-query conn query (list (number->string build-id))))
|
||||
(match (exec-query conn query (list (number->string build-id)))
|
||||
(() #f)
|
||||
(((timestamp status))
|
||||
(values status
|
||||
timestamp))))
|
||||
|
||||
(define (insert-build-status conn build-id timestamp status)
|
||||
(insert-build-statuses
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue