Insert every spiff log, see if it helps the deadlock issue on demo (#51)
This commit is contained in:
parent
ea61d7819d
commit
df213893ca
|
@ -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