generated from coulomb/repo-seed
Optimize dashboard overview loading
This commit is contained in:
@@ -56,8 +56,12 @@ def _truncate(_schema):
|
||||
# Reset in-process TTL caches so stale data from a previous test can't bleed through.
|
||||
_state_router._SUMMARY_CACHE = None
|
||||
_state_router._SUMMARY_CACHE_AT = 0.0
|
||||
_state_router._OVERVIEW_CACHE = None
|
||||
_state_router._OVERVIEW_CACHE_AT = 0.0
|
||||
_ws_router._INDEX_CACHE = None
|
||||
_ws_router._INDEX_CACHE_AT = 0.0
|
||||
_ws_router._INDEX_REFRESH_TASK = None
|
||||
_ws_router._INDEX_LAST_ERROR = None
|
||||
|
||||
yield
|
||||
engine = sqlalchemy.create_engine(_SYNC_URL)
|
||||
|
||||
Reference in New Issue
Block a user