Skip to content

v0.13.1

Choose a tag to compare

@cardmagic cardmagic released this 17 Aug 19:12
· 13 commits to main since this release
5c52ea8

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_changed instrumentation 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 void keep their behaviour. The built-in PostgreSQL, Redis, and in-process adapters return true for a notification and false for 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.