Skip to content

Commit

Permalink
CCDB mirror : use 2 retries, remove forgotten print
Browse files Browse the repository at this point in the history
  • Loading branch information
adriansev committed Mar 4, 2024
1 parent 973bd85 commit 88678f5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion alienpy/alien.py
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ def get_alien_endpoint(obj: dict) -> str:
if do_download or do_mirror:
if not ALIENPY_GLOBAL_WB: ALIENPY_GLOBAL_WB = InitConnection(cmdlist_func = constructCmdList)
dest_list = [i[0] for i in dest_time_list]
xrdcp_ret = DO_XrootdCp(ALIENPY_GLOBAL_WB, xrd_copy_command = ['-parent', '99'], api_src = download_list, api_dst = dest_list)
xrdcp_ret = DO_XrootdCp(ALIENPY_GLOBAL_WB, xrd_copy_command = ['-parent', '99', '-retry', '2'], api_src = download_list, api_dst = dest_list)

# set the time for the ccdb files
if do_mirror:
Expand Down
1 change: 0 additions & 1 deletion examples/ccdb_mirror.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@

for path in ccdb_paths:
mirror_args = ['-history', '-limit', '9999', '-run', runnr, '-mirror', '-dst', dst_dir, path]
print(mirror_args)
rez = DO_ccdb_query(mirror_args)
exitcode = retf_print(rez)

0 comments on commit 88678f5

Please sign in to comment.