Skip to content

Commit 582cc99

Browse files
ybelMekktommytroen
andcommitted
fix: set default untracked interval to 10 min
Co-authored-by: Tommy Trøen <[email protected]>
1 parent c500528 commit 582cc99

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

internal/updater/updater.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@ import (
1515

1616
const (
1717
DefaultResyncImagesOlderThanMinutes = 60 * 12 // 12 hours
18-
DefaultMarkUntrackedInterval = 3 * time.Minute
18+
DefaultMarkUntrackedInterval = 10 * time.Minute
1919
SyncErrorStatusCodeNotFound = "NotFound"
2020
SyncErrorStatusCodeGenericError = "GenericError"
2121
)
2222

23-
var imageProcessingSem = make(chan struct{}, 10)
24-
2523
type Updater struct {
2624
db *pgxpool.Pool
2725
querier *sql.Queries

0 commit comments

Comments
 (0)