chore(docstring): fix docstring to match the value of MAX_WRITES_PER_TRANSACTION (#19572)

This commit is contained in:
Pruthvi Patel 2023-01-12 23:17:59 +11:00 committed by GitHub
parent b099b6fdf8
commit 2e87b405fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -362,7 +362,7 @@ class Database:
self.sql(query, debug=debug)
def check_transaction_status(self, query):
"""Raises exception if more than 20,000 `INSERT`, `UPDATE` queries are
"""Raises exception if more than 200,000 `INSERT`, `UPDATE` queries are
executed in one transaction. This is to ensure that writes are always flushed otherwise this
could cause the system to hang."""
self.check_implicit_commit(query)