diff --git a/src/bootstrap.ts b/src/bootstrap.ts index c335288..6591dad 100644 --- a/src/bootstrap.ts +++ b/src/bootstrap.ts @@ -30,7 +30,7 @@ export async function bootstrap(version: string): Promise { throw e } - cluster.connect() + await cluster.connect() const proto = config.byoc ? 'http' : 'https' if (proto === 'https') { logger.info('请求证书')