diff --git a/backend/controller/sql/queries.sql b/backend/controller/sql/queries.sql index f034cb5bfe..e7879e3328 100644 --- a/backend/controller/sql/queries.sql +++ b/backend/controller/sql/queries.sql @@ -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