Skip to content

Campaign(s) remaining (redis) #415

@elpiel

Description

@elpiel

Since we need to use the calls to redis in multiple occasions ( #413 & #408 )

Create a single struct (sentry::db::campaign::CampaignRemaining) that handles the key & have all required calls we need for Redis (for creating & modifying campaign as well as Events recording).
This will remove duplicate logic and some error prone places (like having the redis key twice on 2 different locations)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions