Skip to content

Commit d0e9c62

Browse files
committed
lower job period
1 parent 77d27b0 commit d0e9c62

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

backend/xray/jobs.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import (
99
"time"
1010
)
1111

12-
1312
func (x *Xray) startupLogTailSize() int {
1413
if x.cfg != nil && x.cfg.StartupLogTailSize > 0 {
1514
return x.cfg.StartupLogTailSize
@@ -115,6 +114,6 @@ func (x *Xray) checkXrayHealth(baseCtx context.Context) {
115114
consecutiveFailures = 0 // Reset on success
116115
}
117116
}
118-
time.Sleep(time.Second * 5)
117+
time.Sleep(time.Second * 2)
119118
}
120119
}

0 commit comments

Comments
 (0)