chore(cache): bump all sub-5min cache TTLs and polling intervals#626
Merged
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Audit and raise every cache/poll under 5 min to reduce upstream API pressure and Vercel function invocations across 31 files: Frontend polling: markets 4→8min, crypto 4→8min, predictions 5→10min, natural 5→1hr, cableHealth 5→2hr, oref 10s→2min, maritime 30s→5min, IntelligenceGapBadge 1→3min. Circuit breakers: PizzINT 2→30min, aviation 5→20min, seismology/weather/ outages/statuses/wildfires 5→30min, military-vessels/flights/GDACS/ maritime/polymarket/GDELT 5→10min, chokepoint 5→20min. Server Redis: market-quotes 2→8min, stablecoins 2→8min/5→10min, vessel-snapshot 10s→5min, earthquakes 5→30min, sector 5→10min, predictions/crypto/commodities 5→10min, outages/statuses 5→30min, macro-signals/chokepoints 5→15min, aviation-sim 5→15min. CDN edge: market RPCs fast→medium, infra/seismology fast→slow.
koala73
force-pushed
the
chore/bump-cache-ttls
branch
from
March 1, 2026 01:19
924808b to
d52a68f
Compare
koala73
added a commit
that referenced
this pull request
Mar 1, 2026
Audit and raise every cache/poll under 5 min to reduce upstream API pressure and Vercel function invocations across 31 files: Frontend polling: markets 4→8min, crypto 4→8min, predictions 5→10min, natural 5→1hr, cableHealth 5→2hr, oref 10s→2min, maritime 30s→5min, IntelligenceGapBadge 1→3min. Circuit breakers: PizzINT 2→30min, aviation 5→20min, seismology/weather/ outages/statuses/wildfires 5→30min, military-vessels/flights/GDACS/ maritime/polymarket/GDELT 5→10min, chokepoint 5→20min. Server Redis: market-quotes 2→8min, stablecoins 2→8min/5→10min, vessel-snapshot 10s→5min, earthquakes 5→30min, sector 5→10min, predictions/crypto/commodities 5→10min, outages/statuses 5→30min, macro-signals/chokepoints 5→15min, aviation-sim 5→15min. CDN edge: market RPCs fast→medium, infra/seismology fast→slow.
matthewvecchione1-ops
pushed a commit
to matthewvecchione1-ops/worldmonitor
that referenced
this pull request
Mar 4, 2026
…la73#626) Audit and raise every cache/poll under 5 min to reduce upstream API pressure and Vercel function invocations across 31 files: Frontend polling: markets 4→8min, crypto 4→8min, predictions 5→10min, natural 5→1hr, cableHealth 5→2hr, oref 10s→2min, maritime 30s→5min, IntelligenceGapBadge 1→3min. Circuit breakers: PizzINT 2→30min, aviation 5→20min, seismology/weather/ outages/statuses/wildfires 5→30min, military-vessels/flights/GDACS/ maritime/polymarket/GDELT 5→10min, chokepoint 5→20min. Server Redis: market-quotes 2→8min, stablecoins 2→8min/5→10min, vessel-snapshot 10s→5min, earthquakes 5→30min, sector 5→10min, predictions/crypto/commodities 5→10min, outages/statuses 5→30min, macro-signals/chokepoints 5→15min, aviation-sim 5→15min. CDN edge: market RPCs fast→medium, infra/seismology fast→slow.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fast→medium, infra/seismologyfast→slow)Frontend Polling
Circuit Breakers (client-side)
Server Redis Cache
Test plan
tsc --noEmitpasses (confirmed pre-push)