Skip to content

Commit f32d418

Browse files
jluebbeBastian-Krause
authored andcommitted
remote/coordinator: disable so_reuseport
We only want to run one instance of the coordinator, so enabling so_reuseport can lead to confusing situations where multiple coordinator are running in parallel. Signed-off-by: Jan Luebbe <[email protected]>
1 parent bef539e commit f32d418

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

labgrid/remote/coordinator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -964,6 +964,7 @@ async def serve(listen, cleanup) -> None:
964964
# so set it as well.
965965
# Use GRPC_VERBOSITY=DEBUG GRPC_TRACE=http_keepalive for debugging.
966966
channel_options = [
967+
("grpc.so_reuseport", 0), # no load balancing
967968
("grpc.keepalive_time_ms", 10000), # 10 seconds
968969
("grpc.keepalive_timeout_ms", 10000), # 10 seconds
969970
("grpc.http2.ping_timeout_ms", 15000), # 15 seconds

0 commit comments

Comments
 (0)