You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If one uses the in-process gRPC Client e.g. like this:
Client.inProcess("Server Name").build()
The client is automatically created with a direct executor which is usually a bad choice in production environments. The reason for that is our in-process client setup:
Without the directExecutor() call, the default executor is going to be a shard thread pool executor which a much better choice for non-test environments.
Workaround:
One may create a client with her own InProcessChannel and configure the executor manually:
If one uses the in-process gRPC
Client
e.g. like this:The client is automatically created with a direct executor which is usually a bad choice in production environments. The reason for that is our in-process client setup:
Without the
directExecutor()
call, the default executor is going to be a shard thread pool executor which a much better choice for non-test environments.Workaround:
One may create a client with her own
InProcessChannel
and configure the executor manually:The text was updated successfully, but these errors were encountered: