Skip to content

Commit 29beb8a

Browse files
committed
De-constify default time intervals in git store
This to permit overrides (in tests and beyond).
1 parent 2ad54e8 commit 29beb8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/store/git/git.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"github.com/sirupsen/logrus"
2222
)
2323

24-
const (
24+
var (
2525
timeoutCommands = 60 * time.Second
2626
checkInterval = 10 * time.Second
2727
)

0 commit comments

Comments
 (0)