fix(server): 数据截止仅统计 active key,停用 key 不拉慢全池水位
This commit is contained in:
@@ -240,6 +240,7 @@ export function adminUsageRoutes() {
|
||||
};
|
||||
b.key_count += 1;
|
||||
if (
|
||||
v.status === "active" &&
|
||||
v.log_synced_at &&
|
||||
(b.cutoff === null || v.log_synced_at < b.cutoff)
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user