steveahnahn commented on code in PR #68595: URL: https://github.com/apache/airflow/pull/68595#discussion_r3424064216
########## airflow-core/src/airflow/jobs/scheduler_job_runner.py: ########## @@ -160,6 +160,10 @@ # safety bound, not a behavioural knob operators need to tune. MAX_PARTITION_DAG_RUNS_PER_LOOP = 500 +# Cap on orphaned assets whose asset_state_store rows are deleted per scheduler +# orphanage tick; the remainder drain on later ticks. Mirrors MAX_PARTITION_DAG_RUNS_PER_LOOP. +ORPHANED_ASSET_STATE_STORE_CLEANUP_BATCH_SIZE = 500 Review Comment: mirrors MAX_PARTITION_DAG_RUNS_PER_LOOP and sits under SQLite's 999-param limit, will add a comment to clarify the arbitrary number -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
