Skip to content

Commit

Permalink
reverts sig
Browse files Browse the repository at this point in the history
  • Loading branch information
amir20 committed Dec 17, 2024
1 parent f590fe7 commit 2069c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func main() {
log.Fatal().Err(err).Msg("failed to listen")
}
}()
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM, syscall.SIGINT)
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
defer stop()

<-ctx.Done()
Expand Down

0 comments on commit 2069c39

Please sign in to comment.