Skip to content

Staging#822

Merged
accius merged 2 commits intomainfrom
Staging
Mar 24, 2026
Merged

Staging#822
accius merged 2 commits intomainfrom
Staging

Conversation

@accius
Copy link
Owner

@accius accius commented Mar 24, 2026

What does this PR do?

Type of change

  • Bug fix
  • New feature
  • Performance improvement
  • Refactor / code cleanup
  • Documentation
  • Translation
  • Map layer plugin

How to test

Checklist

  • App loads without console errors
  • Tested in Dark, Light, and Retro themes
  • Responsive at different screen sizes (desktop + mobile)
  • If touching server.js: caches have TTLs and size caps (we serve 2,000+ concurrent users)
  • If adding an API route: includes caching and error handling
  • If adding a panel: wired into Modern, Classic, and Dockable layouts
  • No hardcoded colors — uses CSS variables (var(--accent-cyan), etc.)
  • No .bak, .old, console.log debug lines, or test scripts included

Screenshots (if visual change)

accius and others added 2 commits March 23, 2026 21:56
…queue

Previously: single-entry cache — every new DX click evicted the
previous prediction, forcing a fresh ITURHFProp call (10s+ wait).
With the service down, users got nothing.

Now:
- Multi-entry LRU cache (200 entries, 30-min TTL) — clicking between
  DX targets serves cached P.533-14 results instantly
- Background fetch queue — if cache misses, serve built-in model
  immediately and queue ITURHFProp in background. Next poll (10 min)
  or re-click gets the precise result
- Path coordinates rounded to 0.5° for better cache hit rate
- Users always get an instant response (never "loading...")

Flow: click DX → cache hit? serve P.533-14 instantly. Cache miss?
serve built-in model + fire background ITURHFProp. Next request →
P.533-14 from cache.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
When new DX callsigns appear in the cluster, immediately queue
background ITURHFProp requests using the server's configured DE
location. By the time a user clicks the spot, the precise P.533-14
prediction is already cached — no waiting.

Also exposed prewarmPropagation() from propagation module so other
routes can trigger pre-warming for known paths.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@accius accius merged commit bda2c92 into main Mar 24, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant