amoghrajesh commented on code in PR #76806:
URL: https://github.com/apache/airflow/pull/76806#discussion_r4546808487


##########
airflow-core/src/airflow/models/taskinstance.py:
##########
@@ -145,6 +147,9 @@
 
 log = logging.getLogger(__name__)
 
+# Five bind parameters per key; stays well under the bind parameter limits of 
every supported DB.
+_TASK_STATE_DISCARD_BATCH_SIZE = 500

Review Comment:
   Dropped the batch to 150 (750 binds per DELETE) and corrected the comment to 
name the SQLite 999 limit.



-- 
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]

Reply via email to