Skip to content
This repository was archived by the owner on May 8, 2023. It is now read-only.

Commit 0cadc51

Browse files
author
Tom Elliott
committed
Increase the time between status updates to 10s to reduce CPU load.
1 parent 080f2c8 commit 0cadc51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

runner/runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func (r *Runner) Run(args []string) error {
7777
r.Messagef("Service stopped\n")
7878
}()
7979

80-
statusTick := time.NewTicker(time.Second)
80+
statusTick := time.NewTicker(10 * time.Second)
8181
defer statusTick.Stop()
8282
go func() {
8383
for _ = range statusTick.C {

0 commit comments

Comments
 (0)