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

add optional prefix to redis keys #74

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Graeme22
Copy link

Description

Adds an optional prefix_str property to RedisAsyncResultBackend and its variants, as discussed in #73. This prefix allows for organizing keys into folders a la S3 in some Redis explorers like RedisInsight.

If the prefix is not provided (default), the behavior will not change at all, so this is backwards-compatible with existing DB results. Alternatively, we could set a default prefix string like "taskiq" which would not be backwards-compatible but would probably be more intuitive for users.

Related issues

Fixes #73.

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

Successfully merging this pull request may close these issues.

Feature Request: prefix string for result backend
1 participant