From d8753cda02f41e5c6264effdcfe6accd2778bc62 Mon Sep 17 00:00:00 2001 From: rari404 <138394996+edlsh@users.noreply.github.com> Date: Fri, 2 Jan 2026 12:12:02 -0500 Subject: refactor: use Bun.sleep instead of Promise setTimeout (#6620) --- github/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'github') diff --git a/github/index.ts b/github/index.ts index 2dcf6e754..73378894c 100644 --- a/github/index.ts +++ b/github/index.ts @@ -281,7 +281,7 @@ async function assertOpencodeConnected() { connected = true break } catch (e) {} - await new Promise((resolve) => setTimeout(resolve, 300)) + await Bun.sleep(300) } while (retry++ < 30) if (!connected) { -- cgit v1.2.3