Skip to content

Commit

Permalink
告诉服务端byoc
Browse files Browse the repository at this point in the history
  • Loading branch information
bangbang93 committed Jun 15, 2022
1 parent eb8b105 commit 6b68835
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ export class Cluster {
host: this.host,
port: this.publicPort,
version: this.version,
byoc: process.env.CLUSTER_BYOC === 'true',
}, ([err, ack]) => {
if (err) return reject(err)
if (ack !== true) return reject(ack)
Expand Down

0 comments on commit 6b68835

Please sign in to comment.