mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-10-05 17:46:37 +08:00
Revert "fix(backend): enable noDelay for relay connector to fix chain failover"
This reverts commit 51cbd4b9de.
This commit is contained in:
@@ -51,10 +51,6 @@ public class GostUtil {
|
|||||||
|
|
||||||
JSONObject connector = new JSONObject();
|
JSONObject connector = new JSONObject();
|
||||||
connector.put("type", "relay");
|
connector.put("type", "relay");
|
||||||
// 启用 noDelay 以确保连接错误能立即传播,使故障转移正常工作
|
|
||||||
JSONObject connectorMetadata = new JSONObject();
|
|
||||||
connectorMetadata.put("nodelay", true);
|
|
||||||
connector.put("metadata", connectorMetadata);
|
|
||||||
|
|
||||||
Node node_info = node_s.get(chainTunnel.getNodeId());
|
Node node_info = node_s.get(chainTunnel.getNodeId());
|
||||||
JSONObject node = new JSONObject();
|
JSONObject node = new JSONObject();
|
||||||
|
|||||||
Reference in New Issue
Block a user