RainyXeon / Cylane

A rich features discord lavalink bot using shokaku/kazagumo and based in NanoSpace framework
GNU Affero General Public License v3.0
33 stars 13 forks source link

address already in use when using 2 clusters in sharding #7

Closed CodingWithHardik closed 1 year ago

CodingWithHardik commented 1 year ago

@RainyXeon fix it

CodingWithHardik commented 1 year ago

@RainyXeon when it will be fixed ?

RainyXeon commented 1 year ago

@CodingWithHardik I'm not done yet, but you can use normal shard mode by using npm run start:normal command for avoid same address issue.

CodingWithHardik commented 1 year ago

@RainyXeon try to replace port: this.config.PORT to noServer: true

CodingWithHardik commented 1 year ago

I don't know but I think this will fix the issue if it's working then please tell me

CodingWithHardik commented 1 year ago

its not working don't try

RainyXeon commented 1 year ago

@CodingWithHardik now fixed by block using ws in shard mode https://github.com/RainyXeon/Cylane/commit/689351871f96c2f6a6884807ad62f1097eefe129