summaryrefslogtreecommitdiffhomepage
path: root/github
diff options
context:
space:
mode:
authorrari404 <[email protected]>2026-01-02 12:12:02 -0500
committerGitHub <[email protected]>2026-01-02 11:12:02 -0600
commitd8753cda02f41e5c6264effdcfe6accd2778bc62 (patch)
tree1c64d5b02b1b37a34254606197ee5cb13dc29268 /github
parent2685de2a335d374af7377cd3cb382608cde7e155 (diff)
downloadopencode-d8753cda02f41e5c6264effdcfe6accd2778bc62.tar.gz
opencode-d8753cda02f41e5c6264effdcfe6accd2778bc62.zip
refactor: use Bun.sleep instead of Promise setTimeout (#6620)
Diffstat (limited to 'github')
-rw-r--r--github/index.ts2
1 files changed, 1 insertions, 1 deletions
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) {