adap / flower

Flower: A Friendly Federated AI Framework
https://flower.ai
Apache License 2.0
5.13k stars 881 forks source link

Add keepalive_time_ms parameter in flwr.server.app.start_server #4128

Open JonathanChen1002 opened 2 months ago

JonathanChen1002 commented 2 months ago

Describe the type of feature and its functionality.

Hi, I've encountered a situation where we need to set a shorter keep alive time when start grpc server. I noticed that flwr.server.app.start_server use start_grpc_server function, which has keepalive_time_ms parameter. Is it possible to add this parameter in flwr.server.app.start_server?

Describe step by step what files and adjustments are you planning to include.

add keepalive_time_ms parameter in flwr.server.app.start_server and pass it to start_grpc_server function

Is there something else you want to add?

No response