Skip to content

Commit

Permalink
fix: remove unnessary logging
Browse files Browse the repository at this point in the history
  • Loading branch information
johejo committed Apr 1, 2020
1 parent 6466541 commit 6e2a3ec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions http.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,7 @@ func (s *Server) serve(listener net.Listener) {
go func() {
sigint := make(chan os.Signal, 1)
signal.Notify(sigint, os.Interrupt, syscall.SIGTERM)
s := <-sigint
logger.Printf("caught signal: %s", s)
<-sigint

// We received an interrupt signal, shut down.
if err := srv.Shutdown(context.Background()); err != nil {
Expand Down

0 comments on commit 6e2a3ec

Please sign in to comment.