Skip to content

Commit f6b010c

Browse files
committed
fix: changing time from 60 minutes to 1 minute
1 parent 74a5c6d commit f6b010c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db-connector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11021,7 +11021,7 @@ func GetUnfinishedExecutionsCron(ctx context.Context) (map[string][]WorkflowExec
1102111021
// FIXME: Sorting doesn't seem to work...
1102211022
//StartedAt int64 `json:"started_at" datastore:"started_at"`
1102311023
var query *datastore.Query
11024-
query = datastore.NewQuery(index).Filter("started_at >", time.Now().Unix()-3600).Order("-started_at").Limit(100)
11024+
query = datastore.NewQuery(index).Filter("started_at >", time.Now().Unix()-60).Order("-started_at").Limit(100)
1102511025

1102611026
max := 100000
1102711027
cursorStr := ""

0 commit comments

Comments
 (0)