8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e16208c commit b8d0f82Copy full SHA for b8d0f82
engine/api/purge/purge.go
@@ -126,7 +126,7 @@ func stopRunsBlocked(db *gorp.DbMap) error {
126
query := `SELECT workflow_run.id
127
FROM workflow_run
128
WHERE (workflow_run.status = $1 or workflow_run.status = $2 or workflow_run.status = $3)
129
- AND now() - workflow_run.start > interval '1 day'
+ AND now() - workflow_run.last_execution > interval '1 day'
130
LIMIT 30`
131
ids := []struct {
132
ID int64 `db:"id"`
0 commit comments