events updated

This commit is contained in:
2025-01-31 16:04:01 +03:00
parent 93db5eff72
commit 7404da6930
6 changed files with 14 additions and 19 deletions

View File

@@ -82,7 +82,8 @@ class PrepareEvents(DecoratorModule):
cluster = cluster_control.category_cluster
### Create Redis Parameters
# [SAVE]REDIS => MENU_FIRST_LAYER = [ClusterToMethod, ...]
self.valid_redis_items.MENU_FIRST_LAYER_VALUE.add(cluster.name)
if cluster.is_client:
self.valid_redis_items.MENU_FIRST_LAYER_VALUE.add(cluster.name)
# [SAVE]REDIS => CLUSTER_INDEX = {ClusterToMethod: [MethodEvent, ...], "MethodEvent": "ClusterToMethod"}
self.valid_redis_items.CLUSTER_INDEX_VALUE.update(
cluster.get_redis_cluster_index_value()