Skip to content

Commit

Permalink
simplify SELECT statement
Browse files Browse the repository at this point in the history
# Conflicts:
#	backend/controller/sql/querier.go
#	backend/controller/sql/queries.sql.go
  • Loading branch information
matt2e committed Aug 27, 2024
1 parent 86ccf0b commit 75011bc
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions backend/controller/sql/queries.sql
Original file line number Diff line number Diff line change
Expand Up @@ -567,20 +567,7 @@ FROM async_calls
WHERE id = @id;

-- name: GetZombieAsyncCalls :many
SELECT
id,
origin,
scheduled_at,
verb,
catch_verb,
request,
remaining_attempts,
error,
backoff,
max_backoff,
parent_request_key,
trace_context,
catching
SELECT *
FROM async_calls
WHERE state = 'executing'
AND lease_id IS NULL
Expand Down

0 comments on commit 75011bc

Please sign in to comment.