Skip to content

Commit 64f1b8c

Browse files
authored
Update performance-tips-java-sdk-v4.md
1 parent 2ef0f33 commit 64f1b8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

articles/cosmos-db/nosql/performance-tips-java-sdk-v4.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ CosmosAsyncClient clientWithOpenConnections = new CosmosClientBuilder()
7878
.preferredRegions(Arrays.asList("sample_region_1", "sample_region_2"))
7979
.openConnectionsAndInitCaches(new CosmosContainerProactiveInitConfigBuilder(Arrays.asList(containerIdentity))
8080
.setProactiveConnectionRegionsCount(proactiveConnectionRegionsCount)
81+
//setting aggressive warmup duration helps in cases where there is a high no. of partitions
8182
.setAggressiveWarmupDuration(aggressiveWarmupDuration)
8283
.build())
8384
.directMode()

0 commit comments

Comments
 (0)