Skip to content

Commit

Permalink
Adds connection_timeout and max_concurrency Azure Blob options to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jsalz2000 committed Jan 2, 2025
1 parent ff93bc7 commit 91275a1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ In the ``[az]`` section you specify Azure credentials as well as Azure Blob Stor
connection_string = "DefaultEndpointsProtocol=https;AccountName=ACCOUNT_NAME;AccountKey=ACCOUNT_KEY;EndpointSuffix=core.windows.net"
container_name = twindb-backups
remote_path = /backups/mysql # optional
max_concurrency = 1 # optional
In the ``[az.client]`` section you specify optional Azure Blob Storage client options.

Expand All @@ -118,6 +119,7 @@ In the ``[az.client]`` section you specify optional Azure Blob Storage client op
max_single_get_size = 33554432
max_chunk_get_size = 4194304
audience = "https://storage.azure.com/"
connection_timeout = 20
Google Cloud Storage
~~~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 2 additions & 0 deletions support/twindb-backup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ BUCKET=twindb-backups
connection_string="DefaultEndpointsProtocol=https;AccountName=ACCOUNT_NAME;AccountKey=ACCOUNT_KEY;EndpointSuffix=core.windows.net"
container_name=twindb-backups
#remote_path = /backups/mysql # optional
#max_concurrency = 1 # optional

[az.client]

Expand All @@ -53,6 +54,7 @@ container_name=twindb-backups
# max_single_get_size=33554432 # optional
# max_chunk_get_size=4194304 # optional
# audience="https://storage.azure.com/" # optional
# connection_timeout=20 # optional

[gcs]

Expand Down
2 changes: 2 additions & 0 deletions tests/unit/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def config_content():
connection_string="DefaultEndpointsProtocol=https;AccountName=ACCOUNT_NAME;AccountKey=ACCOUNT_KEY;EndpointSuffix=core.windows.net"
container_name="twindb-backups"
remote_path="/backups/mysql"
max_concurrency=1
[az.client]
api_version="2019-02-02"
Expand All @@ -44,6 +45,7 @@ def config_content():
max_single_get_size=33554432
max_chunk_get_size=4194304
audience="https://storage.azure.com/"
connection_timeout=20
[gcs]
GC_CREDENTIALS_FILE="XXXXX"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ BUCKET="twindb-backups"
connection_string="DefaultEndpointsProtocol=https;AccountName=ACCOUNT_NAME;AccountKey=ACCOUNT_KEY;EndpointSuffix=core.windows.net"
container_name="twindb-backups"
#remote_path = /backups/mysql # optional
#max_concurrency = 1 # optional

# Azure client optional settings
#[az.client]
Expand All @@ -40,6 +41,7 @@ container_name="twindb-backups"
# max_single_get_size=33554432 # optional
# max_chunk_get_size=4194304 # optional
# audience="https://storage.azure.com/" # optional
# connection_timeout=20 # optional

# GCS destination settings
[gcs]
Expand Down

0 comments on commit 91275a1

Please sign in to comment.