sundy-li commented on issue #40257: URL: https://github.com/apache/arrow/issues/40257#issuecomment-1972385633
@amoeba Thanks for the reply. But I am not looking about set grpc options on client side. Let me explain the issue more directly. I am using Arrow Flight as a server in [databend-udf](https://github.com/datafuselabs/databend-udf/blob/d016db34123a2626966d9d8fc408e57600c997f9/python/databend_udf/udf.py#L188), it's python based. And I want to make the server handle a long-time-response request (such as `time.sleep(300)`). Now I got the error from client side(it's rust based) after 240 s: ``` Decode record batch error: Tonic(Status { code: Unavailable, message: "Too many pings", source: None }) ``` I searched the internet, and users [suggested](https://stackoverflow.com/questions/66271810/grpc-error-on-long-connections-too-many-pings) me to add grpc options in server side rather than client side. So I want to know how to add grpc options in `FlightServerBase`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
