Skip to content

Commit

Permalink
fix: 请求证书前等待ws连接
Browse files Browse the repository at this point in the history
  • Loading branch information
bangbang93 committed Feb 21, 2024
1 parent aeaf935 commit 03fd43d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export async function bootstrap(version: string): Promise<void> {
throw e
}

cluster.connect()
await cluster.connect()
const proto = config.byoc ? 'http' : 'https'
if (proto === 'https') {
logger.info('请求证书')
Expand Down

0 comments on commit 03fd43d

Please sign in to comment.