Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Hellander committed Dec 13, 2024
1 parent 376698f commit 05f29fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fedn/network/clients/grpc_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
MAX_CONNECTION_IDLE_MS = 30000
MAX_CONNECTION_AGE_GRACE_MS = "INT_MAX" # keep connection open indefinitely
CLIENT_IDLE_TIMEOUT_MS = 30000
MAX_MESSAGE_LENGTH = 10 * 1024 * 1024

GRPC_OPTIONS = [
("grpc.keepalive_time_ms", KEEPALIVE_TIME_MS),
Expand All @@ -35,6 +36,8 @@
("grpc.max_connection_idle_ms", MAX_CONNECTION_IDLE_MS),
("grpc.max_connection_age_grace_ms", MAX_CONNECTION_AGE_GRACE_MS),
("grpc.client_idle_timeout_ms", CLIENT_IDLE_TIMEOUT_MS),
('grpc.max_send_message_length', MAX_MESSAGE_LENGTH),
('grpc.max_receive_message_length', MAX_MESSAGE_LENGTH),
]


Expand Down

0 comments on commit 05f29fe

Please sign in to comment.