export redisKeys
Opened this issue · 2 comments
harvey131 commented
Would it be possible to export redisKeys() in the doRedis package namespace? It is a useful function to identify orphaned keys to delete on the server, such as those having a name pattern %s.out%s but an old time.
bwlewis commented
Sure, that will be easy
…On Wed, Sep 29, 2021 at 10:48 PM harvey131 ***@***.***> wrote:
Would it be possible to export redisKeys() in the doRedis package
namespace? It is a useful function to identify orphaned keys to delete on
the server, such as those having a name pattern %s.out%s but an old time.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#61>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABCZHTI5T523ET5QU5E3PLUEPFWLANCNFSM5FBIHXWQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
harvey131 commented
This could be discussed as a separate issue, but is somewhat related. Would you by open to allowing users to set a max expire on the keys, such the .env. and .out. , such that if there is a failure the orphaned keys will eventually be cleaned up? Currently we run a separate process to get the keys and delete them after 10x the expected amount of time a job will take.