diff --git a/ci-bin/run-daemon-before-release.ts b/ci-bin/run-daemon-before-release.ts index 03510b5..c35fb69 100644 --- a/ci-bin/run-daemon-before-release.ts +++ b/ci-bin/run-daemon-before-release.ts @@ -36,6 +36,8 @@ const startPlebbitDaemon = async (args: string[]): Promise => { const sub = await plebbit.createSubplebbit({}); if (typeof sub.address !== "string") throw Error("Failed to create a sub via RPC"); + + await new Promise((resolve) => setTimeout(resolve, 5000)); // wait until the ipfs node restarts await sub.start(); await new Promise((resolve) => sub.once("update", resolve));