Skip to content

Commit 73db03d

Browse files
committed
x
1 parent ac6e2e1 commit 73db03d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

zrpc/internal/serverinterceptors/shutdowninterceptor.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ func UnaryShutdownInterceptor(ctx context.Context, req any, _ *grpc.UnaryServerI
4343
}
4444

4545
func handleShutdown(f func() error) error {
46-
//
47-
// if health.IsReady() {
48-
// return errShutdown
49-
// }
50-
5146
if atomic.LoadInt32(&shutdown) == 1 {
5247
return errShutdown
5348
}

0 commit comments

Comments
 (0)