Closed ajvb closed 7 years ago
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.
--persist-every
persistWaitTime
Per @jrxFive's comment here: https://github.com/ajvb/kala/pull/130#issuecomment-255533627
I'm up for this! =D Claim!
PR at #133! Cheers! =D
Fixed with #133
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 thepersistWaitTime
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: https://github.com/ajvb/kala/pull/130#issuecomment-255533627