Skip to content

Commit 7f2a1f7

Browse files
author
Andrew Mathew
committed
added comment suggestion
1 parent d0eedd2 commit 7f2a1f7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

sdk/cosmos/azure-cosmos/samples/autoscale_throughput_management.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@
6060
def create_database_with_autoscale(client, database_id):
6161
"""
6262
Create a database with autoscale throughput.
63+
Setting throughput settings, like autoscale, on a database level is *not* recommended,
64+
and should only be done if you are aware of the implications of shared throughput across containers.
6365
6466
Autoscale throughput automatically scales between 10% and 100% of the maximum throughput
6567
based on your workload demands.

sdk/cosmos/azure-cosmos/samples/autoscale_throughput_management_async.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@
6161
async def create_database_with_autoscale(client, database_id):
6262
"""
6363
Create a database with autoscale throughput asynchronously.
64-
64+
Setting throughput settings, like autoscale, on a database level is *not* recommended,
65+
and should only be done if you are aware of the implications of shared throughput across containers.
66+
6567
Autoscale throughput automatically scales between 10% and 100% of the maximum throughput
6668
based on your workload demands.
6769

0 commit comments

Comments
 (0)