commit | 031b7b3069fc647bf32059cf502d6c64285b3f18 | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Mon May 20 12:19:57 2013 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Mon May 20 12:19:57 2013 +0530 |
tree | b1fc5bccbee20039d29bf7609eeb5e986722a0f2 | |
parent | d37ac68f1b9a874762e26bdc8b1056e13ed25b8f [diff] |
[fixes] repost stock: commit after every 20
diff --git a/patches/may_2013/repost_stock_for_no_posting_time.py b/patches/may_2013/repost_stock_for_no_posting_time.py index b4d52ec..489511c 100644 --- a/patches/may_2013/repost_stock_for_no_posting_time.py +++ b/patches/may_2013/repost_stock_for_no_posting_time.py
@@ -29,6 +29,6 @@ except: pass i += 1 - if i%50 == 0: + if i%20 == 0: webnotes.conn.sql("commit") webnotes.conn.sql("start transaction") \ No newline at end of file