Add --persist-every command line option
ajvb opened this issue · 3 comments
ajvb commented
Main idea is that persisting can at times be expensive, and every 5 seconds may be too frequent. Allow users to set there own while retaining the default of every 5 seconds.
--persist-every
would set the persistWaitTime
argument here: https://github.com/ajvb/kala/blob/master/job/cache.go#L69 which is passed in here https://github.com/ajvb/kala/blob/master/main.go#L150.
Per @jrxFive's comment here: #130 (comment)
leonardogcsoares commented
I'm up for this! =D Claim!
leonardogcsoares commented
PR at #133! Cheers! =D