Insert every spiff log, see if it helps the deadlock issue on demo (#51)
This commit is contained in:
parent
cb8e110f2c
commit
1f45315fcb
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue