open-webrtc-toolkit / owt-server

General server (streaming/conference/transcoding/anayltics) for OWT. (A.k.a. MediaServer)
https://01.org/open-webrtc-toolkit
Apache License 2.0
1.14k stars 369 forks source link

add support select leader by raft and add new config totalNode to desc how many cluster will be run and fix translateToRegx、subscribe、unsubscribe func has bug in amqpClient.js #1380

Closed keycodingyfq closed 4 months ago

keycodingyfq commented 5 months ago

1、add support for select leader by raft 2、add new config totalNode to desc how many will be run default is 3 3、fix translateToRegx in amqpClient.js

keycodingyfq commented 4 months ago

Hi @keycodingyfq , If you have verified this in your environment and don't have further changes, I think we can get it merged.

yes,we have run in pod environment I have been feeling that the readability of the code is not user-friendly recently, so I have optimized some hard coding positions, and the core logic has not changed

keycodingyfq commented 4 months ago

Hi @keycodingyfq , If you have verified this in your environment and don't have further changes, I think we can get it merged.

yes,we have run in pod environment I have been feeling that the readability of the code is not user-friendly recently, so I have optimized some hard coding positions, and the core logic has not changed