fix(network): raise the remaining short limits for slow links (1.0.5, versionCode 7) #28
Open
james.maes
wants to merge 1 commits from
fix/slow-link-timeouts into main
pull from: fix/slow-link-timeouts
merge into: QRun-IO:main
QRun-IO:main
QRun-IO:feat/session-user-activity
QRun-IO:feat/e2e-scan-base64-extra
QRun-IO:fix/signout-idp-session
QRun-IO:fix/metadata-load-timeout
QRun-IO:ci/release-gates
QRun-IO:fix/widget-icon-string-main
QRun-IO:fix/restore-main-tree
QRun-IO:fix/widget-icon-string
QRun-IO:release/scanner-1.0.2-notes
QRun-IO:release/scanner-1.0.2
QRun-IO:fix/refresh-device-versions
QRun-IO:fix/company-signout-before-session-end
QRun-IO:test/available-scanner-photo-policy
QRun-IO:feature/gs1-record-photos
QRun-IO:docs/scanner-preview-publication
QRun-IO:feature/mobile-scanner-host
QRun-IO:feature/echo-scanner-presentation
QRun-IO:ci/qrun-android-publisher-main-20261102
QRun-IO:ci-proof/cache-interface-20261102
QRun-IO:ci-proof/android-shared-20261102
QRun-IO:archive/qrun-github-cutover-20261101/c55d3002b0d9/feature/echo-scanner-presentation
QRun-IO:migration/github-cutoff-reconcile-20261101
QRun-IO:archive/qrun-github-cutover-20261101/625a275de334/feature/mobile-scanner-host
QRun-IO:feature/orb-0.8-track
QRun-IO:feature/orb-0.7.17
QRun-IO:feature/orb-0712-stable-gate
QRun-IO:fix/package-token-0710
QRun-IO:fix/shared-publisher-context
QRun-IO:fix/current-registry
QRun-IO:feature/central-ci
1
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
b1912cf59c
|
fix(network): raise the remaining short limits for slow links (1.0.5, versionCode 7)
1.0.4 gave the metadata load 60 seconds. Every other call still had a 5 second call limit or OkHttp's 10 second defaults, so a slow warehouse link could still fail start-up, enrollment or a process step. All limits now come from one set, NetworkTimeouts: - connect 10 s (unchanged value, now named) - small calls 30 s: version discovery, branding, logo, reachability and the session heartbeat (were a 5 s call limit); device enrollment and status, sign-in, table and process-status calls (were a 10 s read) - process init and step 60 s read and write, no call limit as before - metadata load 60 s (unchanged) - best-effort calls 5 s (unchanged): ending the device session and live screen frames, so sign-out, Change server and screen viewing never wait on a dead link Not changed: the 3 s bounds around sign-out and the 30 s photo transfer limit. Tests assert the configured limits of every client (NetworkTimeoutsTest, SlowLinkTimeoutsTest); the test that pinned the 10 s default now expects an ordinary call to survive a 12 s answer. Docs: CHANGELOG 1.0.5 candidate; RELEASING, INSTALLATION, SESSION-STATE and TODO record the published 1.0.4 and the 1.0.5 release steps. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |