Skip to content

Commit 2f6cc3c

Browse files
author
Shlomi Noach
authored
Merge pull request #61 from github/frequent-self-tests
More frequent local checks
2 parents 5050452 + ca4d310 commit 2f6cc3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

go/throttle/check.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ import (
66
"time"
77

88
"fmt"
9+
910
"github.com/github/freno/go/base"
1011
metrics "github.com/rcrowley/go-metrics"
1112
)
1213

1314
const frenoAppName = "freno"
14-
const selfCheckInterval = 5 * time.Second
15+
const selfCheckInterval = 1 * time.Second
1516

1617
// ThrottlerCheck provides methdos for an app checking on metrics
1718
type ThrottlerCheck struct {

0 commit comments

Comments
 (0)