speedup zalozka planning
Some checks failed
CI and deploy / migration-check (push) Failing after 12s
CI and deploy / deploy (push) Has been skipped

This commit is contained in:
Dusan Vojacek
2026-05-21 10:37:32 +02:00
parent eb425a26f2
commit d984716f69
10 changed files with 248 additions and 74 deletions

View File

@@ -147,6 +147,10 @@ async def patch_pv_forecast_calibration(
status_code=404,
detail="PV forecast calibration row missing; run migration V057",
)
await conn.execute(
"select ems.fn_refresh_site_pv_delta_profile_cache($1::int)",
site_id,
)
row = await conn.fetchrow(
"""
SELECT to_jsonb(c.*) AS j