Skip to content

Commit

Permalink
fix: drop sigkill catching
Browse files Browse the repository at this point in the history
  • Loading branch information
shipperizer committed Jan 5, 2022
1 parent 2ea8406 commit a8041ed
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file added cmd/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion cmd/grpc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func main() {
}()

c := make(chan os.Signal, 1)
signal.Notify(c, os.Interrupt, syscall.SIGTERM, syscall.SIGKILL)
signal.Notify(c, os.Interrupt, syscall.SIGTERM)

// Block until we receive our signal.
<-c
Expand Down
2 changes: 1 addition & 1 deletion cmd/proxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func main() {
}()

c := make(chan os.Signal, 1)
signal.Notify(c, os.Interrupt, syscall.SIGTERM, syscall.SIGKILL)
signal.Notify(c, os.Interrupt, syscall.SIGTERM)

// Block until we receive our signal.
<-c
Expand Down
2 changes: 1 addition & 1 deletion cmd/web/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func main() {
}()

c := make(chan os.Signal, 1)
signal.Notify(c, os.Interrupt, syscall.SIGTERM, syscall.SIGKILL)
signal.Notify(c, os.Interrupt, syscall.SIGTERM)

// Block until we receive our signal.
<-c
Expand Down

0 comments on commit a8041ed

Please sign in to comment.