Skip to content

Commit

Permalink
Disallow gRPC to reuse port (#461)
Browse files Browse the repository at this point in the history
# Pull Request

## What problem does this PR solve?

Issue Number: Fixed #460 

## Possible side effects?

- Performance: No

- Backward compatibility: No
  • Loading branch information
anakinxc authored Jan 8, 2024
1 parent 1055b7b commit 207435d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spu/utils/distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ class RPC:
OPTIONS = [
('grpc.max_message_length', 1024 * 1024 * 1024),
('grpc.max_receive_message_length', 1024 * 1024 * 1024),
('grpc.so_reuseport', 0),
]
CHUNK_SIZE = 10 * 1024 * 1024

Expand Down

0 comments on commit 207435d

Please sign in to comment.