Skip to content

Sync bot: a live libex lookup gets 5 seconds, then Audible's catalogue - #309

Merged
KodeStar merged 2 commits into
mainfrom
fix/libex-live-timeout
Nov 14, 2026
Merged

KodeStar merged 2 commits into
mainfrom
fix/libex-live-timeout

Conversation

@KodeStar

Copy link
Copy Markdown
Owner

The sync bot now waits 5 seconds for a live libex book record, series listing or chapter list. No answer means libex cannot reach Audible: the lookup kind is held for 5 minutes, and records and listings go to Audible's catalogue. sync-bot.md gets a new subsection, "When libex's live lookups do not answer", plus updates to the network list and the SYNC_AUDIBLE_FALLBACK row.

Pairs with KodeStar/audiosilo-meta-sync#87.

libex answers a live fetch it cannot make only after about 30 seconds, so the
sync bot now waits 5 seconds for a live book record, series listing or chapter
list, holds that lookup kind for 5 minutes, and asks Audible's catalogue for
records and listings. Pairs with KodeStar/audiosilo-meta-sync fix/libex-live-timeout.
Chapters have no Audible fallback, so the sync bot now gives a live chapter list up to 40 seconds (past libex's own wait on Audible) instead of 5, so a slow answer from a working libex is not lost. Book records and series listings keep 5 seconds.
@KodeStar
KodeStar merged commit 853fd26 into main Nov 14, 2026
1 check passed
@KodeStar
KodeStar deleted the fix/libex-live-timeout branch November 14, 2026 19:37
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