mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
invalidate more caches - we have many with very similar names...
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user