Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export redisKeys #61

Open
harvey131 opened this issue Sep 30, 2021 · 2 comments
Open

export redisKeys #61

harvey131 opened this issue Sep 30, 2021 · 2 comments

Comments

@harvey131
Copy link

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
Copy link
Owner

bwlewis commented Sep 30, 2021 via email

@harvey131
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants