Skip to content

Commit

Permalink
remove debugging prints
Browse files Browse the repository at this point in the history
  • Loading branch information
davedavemckay committed Oct 23, 2024
1 parent 1daa51a commit c2266fe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions csd3-side/scripts/lsst-backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,11 +303,9 @@ def upload_to_bucket(s3_host, access_key, secret_key, bucket_name, local_dir, fo

file_size = os.path.getsize(filename)
use_future = False
print('t1', flush=True)

if file_size > 10 * 1024**3:
print('t2', flush=True)
if not dryrun:
print('t3', flush=True)
print(f'WARNING: File size of {file_size} bytes exceeds memory per worker of {mem_per_worker} bytes.', flush=True)
print('Running upload_object.py.', flush=True)
print('This upload WILL NOT be checksummed or tracked!', flush=True)
Expand Down

0 comments on commit c2266fe

Please sign in to comment.