gearman / gearmand

http://gearman.org/
Other
727 stars 138 forks source link

skip removing entries from sqlite if store-queue-on-shutdown is used #370

Closed sni closed 1 year ago

sni commented 1 year ago

if --store-queue-on-shutdown is used, database should only be accessed during shutdown and on initial startup. Skipping the done() saves the unnecessary query preparation, database locks, etc...

esabol commented 1 year ago

CI tests pass, so I think we're good to merge here. The changes look good to me, but I haven't personally tested them. @sni , have you tested these changes on your system? And they work as desired?

sni commented 1 year ago

yes, works as expected.