Repository navigation
openrot v0.2.8
What's New
Thread-safe WARP rotation
Rotation is now serialized with a lock. Concurrent calls are handled safely — when a rotation is already in progress, the caller returns immediately instead of blocking (or worse, racing). A warning is logged when a rotation is skipped.
INFO rotate skipped: another rotation already in progress
Rotation elapsed time
The bridge now logs how long a rotation/retry takes, so you can see the cost of a rate-limit recovery:
INFO [warp] rotation took 0.4s
Bug Fixes
- Fix
BrokenPipeErrorin bridge headers — the entire response write path (headers + body) is wrapped in a try/except forBrokenPipeError,ConnectionResetError, andOSError. A client disconnecting mid-response no longer crashes the handler thread. - Make bridge logging consistent — all bridge messages now go through the events logger instead of mixing
console.printandevents.
Full Changelog: v0.2.7...v0.2.8