Should any key expire while there are still grabbed keys out?
pelletencate opened this issue · 0 comments
pelletencate commented
It seems right now that when a grabbed token is released after the keys have expired, that that single token is returned to the available pool which contains then only that token, all the while the Exists and Version keys are gone. That sounds wrong.
Wouldn't it make more sense to have #lock
call persist
on all keys, and #signal
only expire
them if it just signaled out the last grabbed key?