add caching for db calls to prevent excessive UI polling

This commit is contained in:
Kenneth Kehl
2025-09-26 09:03:34 -07:00
parent 55708504fc
commit 212fabc1b0

View File

@@ -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,
*,