:/
This commit is contained in:
parent
e6b356fb67
commit
f9e48e0609
@ -1332,6 +1332,8 @@ class BaseState(Base, ABC, extra=pydantic.Extra.allow):
|
||||
return
|
||||
|
||||
# For now, handle router_data updates as a special case if using redis.
|
||||
# TODO: it would be better to check for the state manager instead of redis url
|
||||
# however get_state_manager causes a circular import
|
||||
if name == constants.ROUTER_DATA and get_config().redis_url:
|
||||
self.dirty_vars.add(name)
|
||||
self._mark_dirty()
|
||||
|
Loading…
Reference in New Issue
Block a user