Insert every spiff log, see if it helps the deadlock issue on demo (#51)

This commit is contained in:
jbirddog 2022-11-18 15:54:52 -05:00 committed by GitHub
parent cb8e110f2c
commit 1f45315fcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -236,5 +236,5 @@ class DBHandler(logging.Handler):
"spiff_step": spiff_step,
}
)
if len(self.logs) % 1000 == 0:
if len(self.logs) % 1 == 0:
self.bulk_insert_logs()