Skip to content

Commit 22c4456

Browse files
GitHKAndrei Neagumatusdrobuliak66
authored
🐛 Fixed Redis issue where keys ended up in the wrong deployment. (#6368)
Co-authored-by: Andrei Neagu <[email protected]> Co-authored-by: matusdrobuliak66 <[email protected]>
1 parent 4518e6d commit 22c4456

File tree

1 file changed

+2
-2
lines changed
  • packages/settings-library/src/settings_library

1 file changed

+2
-2
lines changed

packages/settings-library/src/settings_library/redis.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from enum import Enum
1+
from enum import IntEnum
22

33
from pydantic import parse_obj_as
44
from pydantic.networks import RedisDsn
@@ -8,7 +8,7 @@
88
from .basic_types import PortInt
99

1010

11-
class RedisDatabase(int, Enum):
11+
class RedisDatabase(IntEnum):
1212
RESOURCES = 0
1313
LOCKS = 1
1414
VALIDATION_CODES = 2

0 commit comments

Comments
 (0)