Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add timeout settings (default to 5 minutes) #15950
By default, azure does not timeout. This commit adds support for a timeout settings which defaults to 5 minutes.
It can be defined globally, per account or both. Defaults to
cloud: azure: storage: timeout: 10s my_account1: account: your_azure_storage_account1 key: your_azure_storage_key1 default: true my_account2: account: your_azure_storage_account2 key: your_azure_storage_key2 timeout: 30s
In this example, timeout will be 10s for
Backport of #15080 in 2.x branch.
Related to #14277.
(cherry picked from commit 96b3166)
Discussed with @imotov today.
As seen in #12567, this PR alone won't fix anything at it sounds although se define timeout settings, azure storage client does not throw any exception (see tests in Azure/azure-storage-java#71).
At the very least, we won't merge this PR alone but only at the same time as we fix #15976.
Let's wait for the moment for Azure Storage Java SDK team's answer...