Skip to content

Commit 38ea405

Browse files
committed
rename REFLEX_STATE_MANAGER_REDIS_DEBUG to match the class name
1 parent d487a95 commit 38ea405

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

reflex/environment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ class EnvironmentVariables:
728728
REFLEX_AUTO_RELOAD_COOLDOWN_TIME_MS: EnvVar[int] = env_var(10_000)
729729

730730
# Whether to enable debug logging for the redis state manager.
731-
REFLEX_REDIS_STATE_MANAGER_DEBUG: EnvVar[bool] = env_var(False)
731+
REFLEX_STATE_MANAGER_REDIS_DEBUG: EnvVar[bool] = env_var(False)
732732

733733
# Whether to opportunistically hold the redis lock to allow fast in-memory access while uncontended.
734734
REFLEX_OPLOCK_ENABLED: EnvVar[bool] = env_var(False)

reflex/istate/manager/redis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ class StateManagerRedis(StateManager):
141141

142142
# Whether debug prints are enabled.
143143
_debug_enabled: bool = dataclasses.field(
144-
default=environment.REFLEX_REDIS_STATE_MANAGER_DEBUG.get(),
144+
default=environment.REFLEX_STATE_MANAGER_REDIS_DEBUG.get(),
145145
init=False,
146146
)
147147

0 commit comments

Comments
 (0)