Skip to content

fix: upload timeout false failure in wardrive_upload#6

Open
FusedStamen wants to merge 11 commits intoLOCOSP:mainfrom
FusedStamen:fix/upload-timeout
Open

fix: upload timeout false failure in wardrive_upload#6
FusedStamen wants to merge 11 commits intoLOCOSP:mainfrom
FusedStamen:fix/upload-timeout

Conversation

@FusedStamen
Copy link
Copy Markdown

Problem

Large sessions with many ADS-B records could exceed the 30s upload timeout.
The upload succeeded server-side but the client received a timeout error,
logged it as failed, and left the session unmarked — causing duplicate
re-uploads on retry which the server correctly rejected as "already seen".

Fix

  • Bumped upload timeout from 30s to 90s on both main upload and rate-limit retry
  • Added specific TimeoutError/OSError handler that marks the session as uploaded
    with a warning instead of silently failing — prevents duplicate re-sends when
    the server received the data but the response timed out

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