套餐增加Websocket连接数限制

This commit is contained in:
GoEdgeLab
2023-12-19 14:57:03 +08:00
parent 5db8eb5dbd
commit b50ef0bd23
8 changed files with 179 additions and 84 deletions

View File

@@ -21,4 +21,6 @@ message Plan {
int32 totalServerNames = 15; // 可以添加的域名总数
int64 dailyRequests = 16; // 每日访问量额度
int64 monthlyRequests = 17; // 每月访问量额度
int64 dailyWebsocketConnections = 18; // 每日Websocket连接数额度
int64 monthlyWebsocketConnections = 19; // 每月Websocket连接数额度
}

View File

@@ -20,4 +20,5 @@ message ServerBandwidthStat {
int64 countCachedRequests = 13; // 总缓存请求数
int64 countAttackRequests = 14; // 总攻击请求数
int64 userPlanId = 15; // 绑定的用户套餐ID
int64 countWebsocketConnections = 16; // Websocket连接数
}