[storm] question about strategy

Christopher Armstrong radix at twistedmatrix.com
Tue Jul 17 18:21:13 BST 2007


On 7/17/07, shawn bright <nephish at gmail.com> wrote:
> so should i do a store.flush() at the end of each thread loop?

No, store.flush is not necessary in most cases. You probably want to
call store.commit(), to commit the transaction at the end of each
thread loop.


-- 
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/



More information about the storm mailing list