Skip to content

Commit 1c2be0e

Browse files
committed
Rename a function
1 parent c53e022 commit 1c2be0e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

servicex/minio_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
_transferconfig = TransferConfig(max_concurrency=10)
4141

4242

43-
def init_download_semaphore(concurrency: int = 10):
43+
def init_s3_config(concurrency: int = 10):
4444
"Update the number of concurrent connections"
4545
global _transferconfig
4646
_transferconfig = TransferConfig(max_concurrency=concurrency)

servicex/servicex_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,9 @@ def deliver(
254254
:return: A dictionary mapping the name of each :py:class:`Sample` to a :py:class:`.GuardList`
255255
with the file names or URLs for the outputs.
256256
"""
257-
from .minio_adapter import init_download_semaphore
257+
from .minio_adapter import init_s3_config
258258

259-
init_download_semaphore(concurrency)
259+
init_s3_config(concurrency)
260260
config = _load_ServiceXSpec(spec)
261261

262262
if ignore_local_cache or config.General.IgnoreLocalCache:

0 commit comments

Comments
 (0)