Skip to content

Refactor keys to avoid duplicate string literals #255

Open
@neob91-close

Description

@neob91-close

We're currently using a lot of string literals for building Redis keys, and it's relatively easy to make a typo that might go unnoticed.

It would be nice if we could improve on this.

Maybe use a separate method for generating each key?
Or perhaps simply use constants instead of literals such as "task" or "executions", the way we already do for QUEUED, SCHEDULED, etc.?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions