v0.13.1
Solid Objects 0.13.1 backs idle polling off to a one-second ceiling, and makes each role's polling interval visible.
Highlights
- Idle actor, effect, reminder, and broadcast polling backs off exponentially from the configured fast interval to a new one-second idle ceiling. Processed work or a wake-up resets the role at once, and actor polling stays capped by the lease-renewal interval.
- Each role reports its current polling interval and emits
solid_objects.polling.interval_changedinstrumentation for every idle, work, and wake-up transition. - One warning reports live processes that share the database without a configured cross-process wake-up adapter.
- Older custom wake-up adapters that return
voidkeep their behaviour. The built-in PostgreSQL, Redis, and in-process adapters returntruefor a notification andfalsefor a timeout, so adaptive polling can tell the two apart. - A reproducible four-role SQLite idle benchmark is added.
Behavior change: pollingIntervalMilliseconds is now the fast interval after activity, not a constant idle cadence. Existing explicit values back off to idlePollingIntervalMilliseconds, which defaults to 1_000. Set both options to the same value to keep a fixed cadence.
Install with npm install solid-objects@0.13.1.
See the full changelog and correctness boundaries.