Grpc Python - How To Add Idle Time For Client
I'm using gRPC to call a service in client. After I set up channel: channel = grpc.insecure_channel('server_url:service_port') stub = Client.Stub(channel) It works pretty
Solution 1:
Unfortunately the gRPC retries functionality when the channel breaks is still work in progress and not fully available yet. One thing you could do as a workaround is to write an interceptor to retry automatically if it sees such error.
Post a Comment for "Grpc Python - How To Add Idle Time For Client"