AIdeaText commited on
Commit
736da3a
·
verified ·
1 Parent(s): 3ec6163

Update modules/database/sql_db.py

Browse files
Files changed (1) hide show
  1. modules/database/sql_db.py +2 -1
modules/database/sql_db.py CHANGED
@@ -163,7 +163,8 @@ def get_recent_sessions(limit=10):
163
 
164
  sessions = list(container.query_items(
165
  query=query,
166
- parameters=[{"name": "@limit", "value": limit}]
 
167
  ))
168
 
169
  clean_sessions = []
 
163
 
164
  sessions = list(container.query_items(
165
  query=query,
166
+ parameters=[{"name": "@limit", "value": limit}],
167
+ enable_cross_partition_query=True # Agregar este parámetro
168
  ))
169
 
170
  clean_sessions = []