Repository navigation
AMSAT status: raw-name fallback and connect timeout - #3488
Merged
Merged
Conversation
Restore legacy satellite name mappings for the v1 API upload and use the logged satellite name when no mapping applies. Cap connection time at 3s so slow AMSAT hosts do not block QSO saves. Co-authored-by: Peter Goodhall <magicbug@users.noreply.github.com>
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.
Restores explicit AMSAT v1 status name mappings for SO-125, MESAT-1, BOTAN, FO-118, AO-92, AO-95, and PO-101 APRS that were dropped in the v1 API refactor. When no mapping matches, uploads now send the logged satellite name instead of skipping the report (the existing
unknown_satelliteretry between hosts is unchanged).Adds
CURLOPT_CONNECTTIMEOUTof 3 seconds on each AMSAT status POST so a slow connect does not delay QSO saves beyond the existing 10 second request timeout.