Skip to content

Commit

Permalink
πŸ› Fixed Redis issue where keys ended up in the wrong deployment. (#6368)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrei Neagu <[email protected]>
Co-authored-by: matusdrobuliak66 <[email protected]>
  • Loading branch information
3 people authored Sep 16, 2024
1 parent 4518e6d commit 22c4456
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/settings-library/src/settings_library/redis.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from enum import Enum
from enum import IntEnum

from pydantic import parse_obj_as
from pydantic.networks import RedisDsn
Expand All @@ -8,7 +8,7 @@
from .basic_types import PortInt


class RedisDatabase(int, Enum):
class RedisDatabase(IntEnum):
RESOURCES = 0
LOCKS = 1
VALIDATION_CODES = 2
Expand Down

0 comments on commit 22c4456

Please sign in to comment.