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 ea61d7819d
commit df213893ca
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()