Rules Hub
Code Ruleset
Rule priority, scope & exceptions
Use this to align rules with the senior-level structure (P0/P1/P2, scope, exceptions/tradeoffs).
Back off persistent cache rebuild rejections
Separate stable oversize rejection from transient failures using a longer retry delay or a lightweight count probe, instead of repeatedly fetching and discarding a full page.
Bad example
| 1 | if (count > cap) retryAfter(shortDelay); |
Explanation (EN)
Separate stable oversize rejection from transient failures using a longer retry delay or a lightweight count probe, instead of repeatedly fetching and discarding a full page.
Objašnjenje (HR)
Separate stable oversize rejection from transient failures using a longer retry delay or a lightweight count probe, instead of repeatedly fetching and discarding a full page.
Good example
| 1 | if (count > cap) retryAfter(oversizeDelay); |
Explanation (EN)
Back off persistent cache rebuild rejections
Objašnjenje (HR)
Back off persistent cache rebuild rejections
Notes (EN)
Separate stable oversize rejection from transient failures using a longer retry delay or a lightweight count probe, instead of repeatedly fetching and discarding a full page.
Bilješke (HR)
Primijeniti pri promjenama cachea, fallbacka i obrade skupova podataka.
Exceptions / Tradeoffs (EN)
Keep the uncached response path available; estimate whether a count probe adds more cost than it saves.
Iznimke / Tradeoffi (HR)
Keep the uncached response path available; estimate whether a count probe adds more cost than it saves.