Commit f65e37e0 authored by 神楽坂玲奈's avatar 神楽坂玲奈

scripts

parent cca4bb54
...@@ -62,9 +62,6 @@ class InventoryBuilder { ...@@ -62,9 +62,6 @@ class InventoryBuilder {
const leftbottom = local.id > remote.id; // true 条目位于左下,false 条目位于右上 const leftbottom = local.id > remote.id; // true 条目位于左下,false 条目位于右上
const cis = !(!leftbottom && inbound && outbound); // true 无需翻转,false 需要翻转。 const cis = !(!leftbottom && inbound && outbound); // true 无需翻转,false 需要翻转。
const primary = leftbottom ? outbound : inbound; // true 使用 peerAddress、port, false 使用peerAddress2、port2 const primary = leftbottom ? outbound : inbound; // true 使用 peerAddress、port, false 使用peerAddress2、port2
if (local.name === 'hk-hkg-alql2' && remote.name === 'halozy') {
console.log(primary);
}
const [_metric, protocol, _params] = connstr.split(','); const [_metric, protocol, _params] = connstr.split(',');
const metric = parseInt(_metric); const metric = parseInt(_metric);
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
set -e set -e
echo "现在会真正去部署了,请务必带 --limit 运行。" echo "现在会真正去部署了,请务必带 --limit 运行。"
echo "现在开放测试的节点:south.mycard.moe,yuzurisa.mycard.moe,hk-hkg-alql2.mycard.moe,ayane.mycard.moe" echo "现在开放测试的节点:south.mycard.moe,yuzurisa.mycard.moe,hk-hkg-alql2.mycard.moe,ayane.mycard.moe,hk-hkg-alql3.mycard.moe"
read -p '确认无误后按回车继续' read -p '确认无误后按回车继续'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment