Harry Yao
72b4469d72
perf(host): open daemon readiness polls tight, then back off ( #5190 )
...
The host-online, runner-online and Claude-terminal-ready waits all polled
on a flat 0.5s cadence. Those waits gate every native-harness launch and
usually resolve on the first probe or two — a warm host is already online,
a fresh runner connects in a second or two — so a flat cadence spends up
to a full interval doing nothing after the thing is already ready.
Replace the fixed sleep with `daemon_poll_intervals()`: open at 0.1s, grow
geometrically, hold at the existing 0.5s for the long tail. Fast launches
notice readiness sooner without a long wait hammering the server.
`DAEMON_POLL_INTERVAL_S` keeps its name and value as the steady-state cap,
so `connect.py`'s runner-exit watcher still matches it; its comment now
notes the client's opening probes are tighter.
Signed-off-by: harry-yao_data <harry.yao@databricks.com >
Co-authored-by: harry-yao_data <harry.yao@databricks.com >
Co-authored-by: Isaac <no-reply@databricks.com >
2026-08-22 09:21:41 +00:00
..
2026-07-14 11:07:07 +09:00
2026-06-14 00:40:31 +05:30
2026-07-27 06:44:36 +00:00
2026-08-21 16:22:23 -04:00
2026-08-21 16:22:23 -04:00
2026-06-13 00:37:34 +00:00
2026-08-22 09:21:41 +00:00
2026-08-21 22:24:09 +00:00
2026-08-12 14:24:13 -07:00
2026-08-20 09:50:55 -07:00
2026-08-07 17:36:52 +00:00
2026-08-21 20:52:14 +00:00
2026-08-19 00:02:35 +00:00
2026-08-21 12:35:22 -07:00
2026-08-21 12:35:22 -07:00
2026-06-13 00:37:34 +00:00
2026-08-21 23:07:02 -07:00
2026-07-21 21:52:08 -07:00
2026-08-20 14:57:57 -07:00
2026-08-21 16:22:23 -04:00
2026-08-05 15:34:54 -07:00
2026-08-20 17:30:55 -07:00
2026-07-16 19:14:12 -07:00
2026-08-21 16:22:23 -04:00
2026-08-13 13:11:46 -07:00
2026-06-13 00:37:34 +00:00
2026-08-01 12:19:39 +00:00
2026-07-27 10:19:38 +00:00
2026-06-13 00:37:34 +00:00
2026-08-20 11:08:59 -07:00
2026-08-20 10:59:34 -07:00
2026-06-25 17:51:45 +08:00
2026-07-30 09:25:37 +00:00
2026-06-17 14:17:42 -07:00
2026-06-13 00:37:34 +00:00
2026-06-13 00:37:34 +00:00
2026-06-25 02:01:57 +00:00
2026-08-17 17:36:01 -07:00
2026-08-01 08:59:29 +00:00
2026-08-11 19:40:01 +08:00
2026-07-31 01:06:54 +00:00
2026-07-27 16:49:59 -07:00
2026-08-12 21:06:44 -07:00
2026-08-11 19:40:01 +08:00
2026-08-11 19:40:01 +08:00
2026-08-20 16:40:52 -07:00
2026-08-20 16:40:52 -07:00
2026-06-28 14:46:08 -07:00
2026-08-20 16:24:23 -07:00
2026-08-20 23:14:53 -07:00
2026-08-20 23:14:53 -07:00
2026-08-13 13:11:46 -07:00
2026-06-13 00:37:34 +00:00
2026-08-15 00:00:14 +00:00
2026-08-11 07:45:14 +00:00
2026-08-13 13:11:46 -07:00
2026-08-22 09:21:41 +00:00
2026-08-20 19:14:41 -07:00
2026-07-22 14:51:11 +07:00
2026-08-18 08:41:56 -07:00
2026-08-05 15:38:36 -07:00
2026-08-06 17:53:04 -07:00
2026-08-01 11:18:01 +00:00
2026-08-22 07:23:32 +09:00
2026-08-06 17:53:04 -07:00
2026-08-20 16:24:23 -07:00
2026-08-20 16:24:23 -07:00
2026-07-31 15:47:32 +00:00
2026-08-20 10:23:38 -07:00
2026-08-06 17:53:04 -07:00
2026-08-03 20:04:10 +07:00
2026-08-15 00:00:14 +00:00
2026-08-20 16:40:52 -07:00
2026-07-31 13:30:15 +00:00
2026-08-12 21:06:44 -07:00
2026-07-09 06:55:13 +00:00
2026-07-31 14:00:20 +00:00
2026-07-31 17:37:03 +00:00
2026-08-04 21:02:07 +00:00
2026-07-31 15:03:05 +00:00
2026-08-12 21:06:44 -07:00
2026-07-02 23:55:04 +07:00
2026-08-12 21:06:44 -07:00
2026-08-20 16:40:52 -07:00
2026-08-05 15:34:54 -07:00
2026-08-18 04:32:05 +00:00
2026-08-12 21:06:44 -07:00
2026-07-01 14:01:41 -07:00
2026-08-14 21:50:12 -07:00
2026-08-11 03:19:09 +00:00
2026-08-01 12:52:53 +00:00
2026-08-12 21:06:44 -07:00
2026-08-12 21:06:44 -07:00
2026-08-20 16:40:52 -07:00
2026-08-01 09:48:42 +00:00
2026-07-27 14:22:06 -07:00
2026-07-31 06:00:17 +00:00
2026-07-27 14:22:06 -07:00
2026-08-10 15:24:56 -07:00
2026-07-31 04:24:32 +00:00
2026-08-12 17:07:21 -07:00
2026-08-12 21:06:44 -07:00
2026-08-12 21:06:44 -07:00
2026-07-02 23:55:04 +07:00
2026-08-20 16:40:52 -07:00
2026-08-02 08:55:13 +00:00
2026-08-01 10:46:25 +00:00
2026-08-02 08:55:13 +00:00
2026-08-02 08:55:13 +00:00
2026-06-25 02:01:57 +00:00
2026-08-12 21:06:44 -07:00
2026-07-29 15:08:43 +00:00
2026-08-20 16:40:52 -07:00
2026-08-11 00:02:43 +00:00
2026-08-12 21:06:44 -07:00
2026-08-12 21:06:44 -07:00
2026-08-20 16:40:52 -07:00
2026-08-20 16:24:23 -07:00
2026-08-20 16:24:23 -07:00
2026-08-20 16:24:23 -07:00
2026-07-31 09:13:34 +00:00
2026-08-05 15:34:54 -07:00
2026-07-31 05:09:11 +00:00
2026-08-01 12:47:39 +00:00
2026-08-10 21:20:55 -07:00
2026-08-01 10:20:47 +00:00
2026-08-01 08:59:29 +00:00
2026-08-01 12:47:23 +00:00
2026-07-31 09:51:57 +00:00
2026-07-29 03:22:09 +00:00
2026-08-02 08:55:13 +00:00
2026-07-15 14:15:26 +02:00
2026-07-31 04:53:51 +00:00
2026-08-13 13:57:13 +00:00
2026-08-13 13:57:13 +00:00
2026-08-02 08:55:13 +00:00
2026-08-02 10:13:21 +00:00
2026-08-15 00:00:14 +00:00
2026-08-20 16:40:52 -07:00
2026-08-13 09:25:59 +00:00
2026-08-03 23:32:26 +07:00
2026-08-19 00:02:35 +00:00
2026-08-02 08:55:13 +00:00
2026-08-20 16:40:52 -07:00
2026-08-10 19:14:03 -07:00
2026-06-13 00:37:34 +00:00
2026-08-02 08:55:13 +00:00
2026-08-12 21:06:44 -07:00
2026-08-12 21:06:44 -07:00
2026-08-20 16:40:52 -07:00
2026-08-21 20:52:14 +00:00
2026-08-21 15:54:45 -07:00
2026-06-13 00:37:34 +00:00
2026-08-12 21:06:44 -07:00
2026-08-19 14:04:09 -07:00
2026-07-30 12:32:37 +09:00
2026-08-11 16:40:30 -07:00
2026-08-19 05:44:29 +00:00
2026-08-10 14:58:07 -07:00