Skip to content

1.8.0 — batch sync verbs + keep-alive transport

Choose a tag to compare

@sliptonic sliptonic released this 17 Aug 18:39
· 3 commits to master since this release

Pairs with loobric-server 0.15.0 (the batch sync doors, docs/BATCH_SYNC.md).

Added

  • Client.sync_tool_records() / Client.sync_catalog_records() (both over sync_records_batch()): batch-sync many records in one transaction per chunk — items carry data + asserts + presets, per-item result tuples return in request order, and chunking at the server's 200-item cap is transparent. A pre-0.15 server 404s; callers fall back to the per-record doors.

Changed

  • Transport keep-alive: one pooled connection per (scheme, host) per thread instead of a fresh TLS handshake per request — the dominant client-side latency against api.loobric.com behind Cloudflare. Stale reused sockets retry once; POSTs only retry when the failure happened before the request was sent, so nothing can duplicate.

Measured (with the server door): a 327-tool Fusion library import went from ~11 minutes to ~4 seconds.