Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
frikky committed Jan 17, 2024
2 parents 853f4e5 + 0b5d949 commit 31421db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db-connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -2381,7 +2381,7 @@ func GetWorkflowCount(ctx context.Context, id string, user User) (int, error) {
countBytes := []byte(countStr)

if project.CacheDb {
err := SetCache(ctx, cacheKey, countBytes, 30)
err := SetCache(ctx, cacheKey, countBytes, 1)
if err != nil {
log.Printf("[WARNING] Failed setting cache for workflow id %d count: %s", id, err)
}
Expand Down

0 comments on commit 31421db

Please sign in to comment.