[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