Skip to content

Commit

Permalink
Merge pull request #269 from liulanzheng/main
Browse files Browse the repository at this point in the history
graceful stop rpc server
  • Loading branch information
BigVan authored Mar 13, 2024
2 parents 8174392 + 29d6dc8 commit 63af711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/overlaybd-snapshotter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func handleSignals(ctx context.Context, signals chan os.Signal, server *grpc.Ser
return
}

server.Stop()
server.GracefulStop()
close(doneCh)
return
}
Expand Down

0 comments on commit 63af711

Please sign in to comment.