From 176438deb3e5b708a38720366ada5455354f1e80 Mon Sep 17 00:00:00 2001 From: Taner Topal Date: Fri, 27 Oct 2023 14:15:19 +0200 Subject: [PATCH] Enable KEEPALIVE_PERMIT_WITHOUT_CALLS for testing Enable KEEPALIVE_PERMIT_WITHOUT_CALLS to autogenerate a wheel which a user wants to test. --- src/py/flwr/server/fleet/grpc_bidi/grpc_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/py/flwr/server/fleet/grpc_bidi/grpc_server.py b/src/py/flwr/server/fleet/grpc_bidi/grpc_server.py index fc81e8eb8f4c..340b421e7a0c 100644 --- a/src/py/flwr/server/fleet/grpc_bidi/grpc_server.py +++ b/src/py/flwr/server/fleet/grpc_bidi/grpc_server.py @@ -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(