Closed oak-tree closed 5 years ago
Hi @oak-tree, thanks for reaching out!
To clarify, we make no promise in terms of thread safety, since we could manipulate the session object (like here). Please consider creating a BlockBlobService for each thread.
Which service(blob, file, queue) does this issue concern?
`from azure.storage.blob import BlockBlobService
blob_service = BlockBlobService(account_name=conf['name'], account_key=conf['key']) `
What problem was encountered?
We are using
threadpool
to doasync
uploading tostorage
. We are creating singleBlockBlobService
and share it across our threads pool. Is it possible thatBlockBlobService
is not a thread safe because it createsrequests.Session()
at StorageClientEDIT
Is it possible that its
threadsafe
because we are working against the samestorage account
? Thanks!