3x-ui 式共享节点改造:nodes 状态机 + nodeClients 各自凭据
- 移除 VMess 协议 - VLESS/SS2022 按用户流量统计(AnyTLS 日志解析,SS 节点级) - sing-box v2ray_api stats 支持 - 内存优化:面板 128M,agent 64M,sing-box 64M
This commit is contained in:
+2
-2
@@ -13,9 +13,9 @@ test('job failures redact a Reality secret and stale completions cannot overwrit
|
||||
try {
|
||||
const store = await new Store(path.join(dir, 'data.json')).init();
|
||||
await store.transaction((data) => {
|
||||
data.jobs.push({ id:'job_running', status:'running', deploymentId:'dep_missing', action:'apply_resource',
|
||||
data.jobs.push({ id:'job_running', status:'running', nodeId:'nod_test', action:'apply_resource',
|
||||
serverId:'srv_test', payload:{}, attempts:1 });
|
||||
data.jobs.push({ id:'job_requeued', status:'queued', deploymentId:'dep_missing', action:'apply_resource',
|
||||
data.jobs.push({ id:'job_requeued', status:'queued', nodeId:'nod_test', action:'apply_resource',
|
||||
serverId:'srv_test', payload:{}, attempts:2 });
|
||||
});
|
||||
const orchestrator = new Orchestrator(store);
|
||||
|
||||
Reference in New Issue
Block a user