strawberry/app
trvon 85239c85d5
tray: one outstanding status/policy poll; back off while the daemon is not answering
A slow daemon (17-22 s per request during the 2026-11-14 hang) made every
3 s poll open new status + policy requests on top of the unanswered ones.
Now each verb has at most one request in flight, and failed status polls
back off 2x per failure up to 30 s, restoring the normal rate on success.
(The tray's ~1 core of CPU at the time is not yet root-caused: profiling it
needs root here; see the Tracy setup follow-up.)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 15:36:15 -07:00
..
tests Read the autostart test file without istreambuf_iterator 2026-10-25 21:00:19 -06:00
app_controller.cpp tray: one outstanding status/policy poll; back off while the daemon is not answering 2026-11-14 15:36:15 -07:00
app_controller.hpp tray: one outstanding status/policy poll; back off while the daemon is not answering 2026-11-14 15:36:15 -07:00
autostart.cpp Add "Start at login" to the tray app 2026-10-25 20:59:52 -06:00
autostart.hpp Add "Start at login" to the tray app 2026-10-25 20:59:52 -06:00
daemon_client.cpp Replace web UI with a Qt tray app 2026-10-25 18:17:03 -06:00
daemon_client.hpp Replace web UI with a Qt tray app 2026-10-25 18:17:03 -06:00
main.cpp App: tray icon survives the sway/waybar startup race 2026-10-28 19:15:12 -06:00
main_window.cpp Use macOS store paths and launchd hints in the CLI, app and MCP 2026-10-28 04:39:57 -06:00
main_window.hpp Add "Start at login" to the tray app 2026-10-25 20:59:52 -06:00
main_window_policy.cpp Replace web UI with a Qt tray app 2026-10-25 18:17:03 -06:00
meson.build Build on macOS: portable syscalls, sockets and tray 2026-10-27 09:54:54 -06:00
notifier.cpp Build on macOS: portable syscalls, sockets and tray 2026-10-27 09:54:54 -06:00
notifier.hpp Build on macOS: portable syscalls, sockets and tray 2026-10-27 09:54:54 -06:00
notifier_tray.cpp Build on macOS: portable syscalls, sockets and tray 2026-10-27 09:54:54 -06:00
tray.cpp Add "Start at login" to the tray app 2026-10-25 20:59:52 -06:00
tray.hpp Build on macOS: portable syscalls, sockets and tray 2026-10-27 09:54:54 -06:00
tray_state.cpp Replace web UI with a Qt tray app 2026-10-25 18:17:03 -06:00
tray_state.hpp Replace web UI with a Qt tray app 2026-10-25 18:17:03 -06:00