mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-12 06:48:31 +00:00
[fixes] repost stock: commit after every 20
This commit is contained in:
@@ -29,6 +29,6 @@ def execute():
|
||||
except:
|
||||
pass
|
||||
i += 1
|
||||
if i%50 == 0:
|
||||
if i%20 == 0:
|
||||
webnotes.conn.sql("commit")
|
||||
webnotes.conn.sql("start transaction")
|
||||
Reference in New Issue
Block a user