Skip to content

Commit

Permalink
Merge pull request #115 from Clever/hbeat-inc-2
Browse files Browse the repository at this point in the history
Followup to increase heartbeat interval
  • Loading branch information
swadkumar authored Sep 10, 2024
2 parents 2c1a581 + fca0a16 commit 9a78bfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ release:
-o="$@/$(EXECUTABLE)-$(VERSION)-linux-amd64" $(EXECUTABLE_PKG)
GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w -X main.Version=$(VERSION)" \
-o="$@/$(EXECUTABLE)-$(VERSION)-darwin-amd64" $(EXECUTABLE_PKG)
GOOS=darwin GOARCH=arm64 go build -ldflags="-s -w -X main.Version=$(VERSION)" \
-o="$@/$(EXECUTABLE)-$(VERSION)-darwin-arm64" $(EXECUTABLE_PKG)

clean:
rm -rf bin release

Expand Down
2 changes: 1 addition & 1 deletion cmd/sfncli/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func (t *TaskRunner) Process(ctx context.Context, args []string, input string) e
}

func (t *TaskRunner) handleSignals(ctx context.Context) {
sigChan := make(chan os.Signal)
sigChan := make(chan os.Signal, 1)
signal.Notify(sigChan)
defer signal.Stop(sigChan)
for {
Expand Down

0 comments on commit 9a78bfc

Please sign in to comment.