You are currently browsing legacy 5.0 version of documentation. Click here to switch to the newest 5.1 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Operations: Server: How to Put Server-Wide Client Configuration

PutServerWideClientConfigurationOperation is used to save a server-wide client configuration on the server. It allows you to override the client's settings remotely.


ClientConfiguration defined at the database level overrides the server-wide client configuration.


public PutServerWideClientConfigurationOperation(ClientConfiguration configuration)


ClientConfiguration clientConfiguration = new ClientConfiguration
    MaxNumberOfRequestsPerSession = 100,
    ReadBalanceBehavior = ReadBalanceBehavior.FastestNode

store.Maintenance.Server.Send(new PutServerWideClientConfigurationOperation(clientConfiguration));