Skip to content

Commit

Permalink
Log total bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Mar 29, 2024
1 parent 3098b06 commit 522b259
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/task_runners.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ def finish_task(name, created_files=None, response_back=None, planet_file=False)
for file in created_files:
total_bytes += file.size()
task.filesize_bytes = total_bytes
LOG.debug(total_bytes)

task.save()

is_hdx_export = HDXExportRegion.objects.filter(job_id=run.job_id).exists()
Expand Down

0 comments on commit 522b259

Please sign in to comment.