Commit 94e7317
authored
fix(trpc): let the hourly MRR refresh collect the run it started (#6931)
refreshSigmaMrr ignored the cache only on its first step, the one that
starts a Sigma run. Every poll after that honoured the cache, found the
previous 12h entry still valid, and returned it — so the job reported
refreshed while the run it had just started was never collected and its
pending handle expired. The admin MRR tile only moved when the entry
lapsed, up to 12h behind what Sigma had already computed, and each
hourly run was burnt for nothing (~24 a day).
Every step now ignores the cache; the finished run is returned straight
from the pending branch, which is where it always landed.1 parent c543f1f commit 94e7317
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
277 | 278 | | |
278 | 279 | | |
279 | 280 | | |
280 | 281 | | |
281 | 282 | | |
282 | 283 | | |
283 | 284 | | |
284 | | - | |
| 285 | + | |
285 | 286 | | |
286 | 287 | | |
287 | 288 | | |
| |||
0 commit comments