This method changes the value of the given configuration variable on the OrientDB Server. It returns a boolean value indicating whether the change was successful.
You may find that you want to change the values on various configuration variables for the OrientDB Server from within your application. With this method you can do so through the
bool OServer.ConfigSet( string key, string value)
keyDefines the configuration variable you want to change.
valueDefines the value you want to set on the variable.
This method returns a boolean value, indicating whether OrientDB applied your change.
For instance, say that you have multiple OrientDB servers running in a distributed deployment. You notice certain performance issues relating to network connectivity and decide to begin optimizing the
network.retry parameter by changing its current setting to 6.
// UPDATE network.retry PARAMETER bool IsUpdated = server.ConfigSet("network.retry", 6); Assert.IsTrue(IsUpdated);