Skip to content

Commit

Permalink
Merge pull request #33 from w-h-a/server-received-timeout
Browse files Browse the repository at this point in the history
refactor: make sure to reset timeout header
  • Loading branch information
w-h-a committed Jul 6, 2024
2 parents 6037387 + 15efb40 commit 08d53c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/grpcserver/grpc_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ func (s *grpcServer) handle(_ interface{}, stream grpc.ServerStream) error {
}

timeout := md["timeout"]
delete(md, "timeout")

ctx := metadatautils.NewContext(stream.Context(), md)

Expand Down

0 comments on commit 08d53c8

Please sign in to comment.