[fixes] repost stock: commit after every 20
This commit is contained in:
parent
d37ac68f1b
commit
031b7b3069
@ -29,6 +29,6 @@ def execute():
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
i += 1
|
i += 1
|
||||||
if i%50 == 0:
|
if i%20 == 0:
|
||||||
webnotes.conn.sql("commit")
|
webnotes.conn.sql("commit")
|
||||||
webnotes.conn.sql("start transaction")
|
webnotes.conn.sql("start transaction")
|
Loading…
Reference in New Issue
Block a user