Skip to content

AMSAT status: never hold up QSO saves - #3489

Merged
magicbug merged 1 commit into
devfrom
cursor/amsat-status-save-timeout-7550
Nov 3, 2026
Merged

magicbug merged 1 commit into
devfrom
cursor/amsat-status-save-timeout-7550

Conversation

@magicbug

@magicbug magicbug commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Limits how long inline AMSAT status uploads can block a satellite QSO save.

  • Shortens the POST timeout to 4 seconds and only tries the fallback host when the first attempt finishes in under about 2 seconds or could not connect.
  • When the API name mapping is empty and the raw satellite name is used, an unknown_satellite response is logged at info level and the upload stops without hitting the second host.
  • Cutover date and satellite name mappings are unchanged.

Early response flush was not added: upload_amsat_status() runs inside add_qso() before the controller sends JSON (for example ajax_saveqso), so calling fastcgi_finish_request() from the model would finish the request without the save response body.

Open in Web Open in Cursor 

Shorten cURL timeouts, skip slow dual-host retries, and stop retrying
unknown_satellite when only the raw satellite name is available.

Co-authored-by: Peter Goodhall <magicbug@users.noreply.github.com>
@magicbug
magicbug merged commit 475519b into dev Nov 3, 2026
1 check failed
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.

2 participants