generated from wayfair-incubator/oss-template
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,11 @@ public ConnectionConfiguration() | |
ConnectionTimeout = TimeSpan.FromSeconds(10); | ||
AsyncMaxCommands = 500; | ||
MaxCommandAction = MaxCommandAction.DELAY; // Recommended by Aerospike Enterprise Support (behavior when asyncMaxCommands is exceeded) | ||
MaxConnsPerNode = 100; // Leave it as default value from Aerospike | ||
// Leave it as default value from Aerospike Client. | ||
Check warning on line 21 in src/AeroSharp/Connection/ConnectionConfiguration.cs GitHub Actions / integration
Check warning on line 21 in src/AeroSharp/Connection/ConnectionConfiguration.cs GitHub Actions / integration
Check warning on line 21 in src/AeroSharp/Connection/ConnectionConfiguration.cs GitHub Actions / unit
Check warning on line 21 in src/AeroSharp/Connection/ConnectionConfiguration.cs GitHub Actions / unit
|
||
// Note: Aerospike client has updated their default settings, see the change reasons from Aerospike forum: https://discuss.aerospike.com/t/client-1772-client-configurations-changes-reasons/9699 | ||
// We will update AsyncMaxCommands to 100 when we bump up Aerospike version so we align with Aerospike settings. | ||
// Relationship between asyncMaxConnsPerNode and MaxConnsPerNode can be found from here: https://aerospike.com/apidocs/csharp/html/f_aerospike_client_asyncclientpolicy_asyncmaxconnspernode | ||
MaxConnsPerNode = 100; | ||
} | ||
|
||
/// <summary> | ||
|