potiuk commented on a change in pull request #11079:
URL: https://github.com/apache/airflow/pull/11079#discussion_r492745847



##########
File path: .github/workflows/delete_old_artifacts.yml
##########
@@ -1,11 +1,12 @@
 name: 'Delete old artifacts'
 on:
   schedule:
-    - cron: '0 * * * *' # every hour
+    - cron: '27 */6 * * *' # run every 6 hours

Review comment:
       BTW. I think my calculations were a bit too pessimistics. Seems that 24 
hours ewere enough to delete the artifacts. The job started to succeed and it 
takes ~ 5 minutes to run when it runs. Also my script is now often finishing 
after some 30-50 artifacts so seems we got to a "clean state" much faster than 
I thought. 
   
   




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to