api for actions (#1031)

* implementation of GET and DELETE for Job Queue API

* implement POST jobs submission to queue via API

* implement GET /queue/backends API endpoint to get backend names
This commit is contained in:
Oliver Gorwits
2023-04-27 16:26:26 +01:00
committed by GitHub
parent e268b9d522
commit 0a1f1bcb73
5 changed files with 238 additions and 3 deletions

View File

@@ -315,7 +315,7 @@ sub jq_userlog {
return schema(vars->{'tenant'})->resultset('Admin')->search({
username => $user,
log => { '-not_like' => 'duplicate of %' },
finished => { '>' => \"(LOCALTIMESTAMP - interval '5 seconds')" },
finished => { '>' => \"(CURRENT_TIMESTAMP - interval '5 seconds')" },
})->with_times->all;
}