[patch] repost_stock: commit after every 50
This commit is contained in:
parent
f826b93a75
commit
b9669de3ff
@ -29,6 +29,6 @@ def execute():
|
||||
except:
|
||||
pass
|
||||
i += 1
|
||||
if i%100 == 0:
|
||||
if i%50 == 0:
|
||||
webnotes.conn.sql("commit")
|
||||
webnotes.conn.sql("start transaction")
|
Loading…
Reference in New Issue
Block a user