You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 24, 2021. It is now read-only.
Just installed from source since the OVH freebsd pkg archive doesn't deliver Freebsd 12 binaries yet.
The beamium binary is using 100% CPU.
Debugger reveals that the main loop in main.rs never sleeps: let watch_event_count = watcher_rx.try_iter().count(); completes immediately if there are no events, and the rest of the loop body doesn't do anything when there are no events.
Hence the busy-loop.
Adding a thread::sleep at the end of that loop seems to alleviate the issue.
Just installed from source since the OVH freebsd pkg archive doesn't deliver Freebsd 12 binaries yet.
The
beamiumbinary is using 100% CPU.Debugger reveals that the main loop in
main.rsnever sleeps:let watch_event_count = watcher_rx.try_iter().count();completes immediately if there are no events, and the rest of the loop body doesn't do anything when there are no events.Hence the busy-loop.
Adding a
thread::sleepat the end of that loop seems to alleviate the issue.