Skip to content

v0.10.32: let the bell release an open

Choose a tag to compare

@gnacho gnacho released this 05 Nov 23:29
· 28 commits to main since this release

After opening the door, watching the video right away no longer gets stuck.

Fixed

  • Opening the door keeps the bell's single session busy for a while, so a video
    process started a second later waited forever at p2pconnect: the whole stream
    stayed at the exec producer with no consumers and nothing ever arrived.
  • The daemon now remembers when it opened (<video.lock>.lastopen, unix
    nanoseconds) and the video process waits for the rest of that window before
    dialling, instead of colliding with the open.
  • WIBOX_OPEN_SETTLE (add-on option open_settle, default 75 s, 0 disables)
    sets the window. With 0 the old behaviour is back.

Verified

  • open_settle_test.go covers the window maths, a corrupt marker file, the
    no-lock no-op and the wait itself (40 ms window).
  • gofmt, go vet clean, full suite green in 8.0 s, coverage 64.3% against a CI
    floor of 62%.

Not verified

  • The end-to-end sequence open-then-watch against the physical bell: it needs a
    waking window, and the doorbell sleeps after about thirty seconds.