summaryrefslogtreecommitdiffhomepage
path: root/github
diff options
context:
space:
mode:
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) {