File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -1932,17 +1932,13 @@ where
1932
1932
1
1933
1933
FROM
1934
1934
job_queue
1935
- JOIN
1936
- benchmark_request AS parent_request
1937
- ON
1938
- parent_request.tag = benchmark_request.parent_tag
1939
1935
WHERE
1940
- job_queue. request_tag = parent_request.tag
1936
+ request_tag = benchmark_request.parent_sha
1941
1937
AND job_queue.status NOT IN ($3, $4)
1942
1938
)
1943
1939
)
1944
1940
RETURNING
1945
- benchmark_request.completed_at ;
1941
+ benchmark_request.tag ;
1946
1942
" ,
1947
1943
& [
1948
1944
& BENCHMARK_REQUEST_STATUS_COMPLETED_STR ,
@@ -1955,8 +1951,7 @@ where
1955
1951
. context ( "Failed to mark benchmark_request as completed" ) ?;
1956
1952
// The affected id is returned by the query thus we can use the row's
1957
1953
// presence to determine if the request was marked as completed
1958
- if let Some ( row) = row {
1959
- let completed_at = row. get :: < _ , DateTime < Utc > > ( 0 ) ;
1954
+ if row. is_some ( ) {
1960
1955
Ok ( true )
1961
1956
} else {
1962
1957
Ok ( false )
You can’t perform that action at this time.
0 commit comments