Skip to content

Commit ca4d310

Browse files
author
Shlomi Noach
committed
self check at 1sec interval
1 parent d03f9b2 commit ca4d310

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 = 500 * time.Millisecond
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)