invalidate more caches - we have many with very similar names...

This commit is contained in:
Swifty
2025-10-01 14:52:58 +02:00
parent 7afa01a168
commit c9a7cc63da

View File

@@ -925,6 +925,12 @@ async def execute_graph(
# Invalidate caches before execution starts so frontend sees fresh data
for page in range(1, 10):
cache.get_cached_graph_execution.cache_delete(
graph_id=graph_id, user_id=user_id, version=graph_version
)
cache.get_cached_graphs_executions.cache_delete(
user_id=user_id, page=page, page_size=25
)
cache.get_cached_graph_executions.cache_delete(
graph_id=graph_id, user_id=user_id, page=page, page_size=25
)