Optimize dashboard overview loading
This commit is contained in:
parent
a412998c96
commit
b340489d96
14 changed files with 990 additions and 88 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue