Skip to content

Commit

Permalink
Enable KEEPALIVE_PERMIT_WITHOUT_CALLS for testing
Browse files Browse the repository at this point in the history
Enable KEEPALIVE_PERMIT_WITHOUT_CALLS to autogenerate a wheel which a user wants to test.
  • Loading branch information
tanertopal authored Oct 27, 2023
1 parent 78163cb commit 176438d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/py/flwr/server/fleet/grpc_bidi/grpc_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def generic_create_grpc_server( # pylint: disable=too-many-arguments
# Is it permissible to send keepalive pings from the client without
# any outstanding streams. More explanation here:
# https://github.com/adap/flower/pull/2197
("grpc.keepalive_permit_without_calls", 0),
("grpc.keepalive_permit_without_calls", 1),
]

server = grpc.server(
Expand Down

0 comments on commit 176438d

Please sign in to comment.