mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-07 01:47:47 +08:00
Add usage queue worker autoscaling
This commit is contained in:
@@ -11,6 +11,7 @@ describe('poolAdvancedDialog', () => {
|
||||
'probing_enabled',
|
||||
'account_self_check_enabled',
|
||||
'auto_remove_banned_keys',
|
||||
'auto_remove_quota_exhausted_keys',
|
||||
'skip_exhausted_accounts',
|
||||
])
|
||||
})
|
||||
@@ -32,6 +33,11 @@ describe('poolAdvancedDialog', () => {
|
||||
label: '异常自动清除',
|
||||
description: '检测到不可恢复账号异常,或 RT 与 AT 均失效时自动从号池移除。',
|
||||
},
|
||||
{
|
||||
key: 'auto_remove_quota_exhausted_keys',
|
||||
label: '自动清理额度耗尽',
|
||||
description: '探测到黑色“额度耗尽”账号后自动从号池移除。',
|
||||
},
|
||||
{
|
||||
key: 'skip_exhausted_accounts',
|
||||
label: '跳过额度耗尽账号',
|
||||
|
||||
@@ -2,6 +2,7 @@ export type PoolHealthToggleKey =
|
||||
| 'probing_enabled'
|
||||
| 'account_self_check_enabled'
|
||||
| 'auto_remove_banned_keys'
|
||||
| 'auto_remove_quota_exhausted_keys'
|
||||
| 'skip_exhausted_accounts'
|
||||
|
||||
export interface PoolHealthToggleCard {
|
||||
@@ -32,6 +33,11 @@ export function buildPoolHealthToggleCards(): PoolHealthToggleCard[] {
|
||||
label: '异常自动清除',
|
||||
description: '检测到不可恢复账号异常,或 RT 与 AT 均失效时自动从号池移除。',
|
||||
},
|
||||
{
|
||||
key: 'auto_remove_quota_exhausted_keys',
|
||||
label: '自动清理额度耗尽',
|
||||
description: '探测到黑色“额度耗尽”账号后自动从号池移除。',
|
||||
},
|
||||
{
|
||||
key: 'skip_exhausted_accounts',
|
||||
label: '跳过额度耗尽账号',
|
||||
|
||||
Reference in New Issue
Block a user