mirror of
https://github.com/GSA/notifications-api.git
synced 2026-07-18 05:30:48 -04:00
add caching for db calls to prevent excessive UI polling
This commit is contained in:
@@ -54,7 +54,7 @@ def dao_get_unfinished_jobs():
|
||||
return db.session.execute(stmt).scalars().all()
|
||||
|
||||
|
||||
@cached(dao_cache)
|
||||
# @cached(dao_cache)
|
||||
def dao_get_jobs_by_service_id(
|
||||
service_id,
|
||||
*,
|
||||
|
||||
Reference in New Issue
Block a user