Improve cluster allocation strategy.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -254,7 +254,7 @@ export interface ClusterPoolPublic {
|
||||
id: string;
|
||||
name: string;
|
||||
description?: string;
|
||||
strategy: 'least-apps' | 'round-robin' | 'weighted-resource';
|
||||
strategy: 'least-apps' | 'round-robin' | 'weighted-round-robin' | 'least-loaded' | 'weighted-resource' | 'region-based';
|
||||
clusterIds: string[];
|
||||
isActive: boolean;
|
||||
isDefault: boolean;
|
||||
@@ -266,7 +266,7 @@ export interface ClusterPool {
|
||||
id: string;
|
||||
name: string;
|
||||
description?: string;
|
||||
strategy: 'least-apps' | 'round-robin' | 'weighted-resource';
|
||||
strategy: 'least-apps' | 'round-robin' | 'weighted-round-robin' | 'least-loaded' | 'weighted-resource' | 'region-based';
|
||||
clusterIds: string[];
|
||||
isActive: boolean;
|
||||
isDefault: boolean;
|
||||
@@ -295,7 +295,7 @@ export interface ClusterAllocationLog {
|
||||
userId: string;
|
||||
poolId?: string;
|
||||
selectedClusterId?: string;
|
||||
strategy: 'least-apps' | 'round-robin' | 'weighted-resource';
|
||||
strategy: 'least-apps' | 'round-robin' | 'weighted-round-robin' | 'least-loaded' | 'weighted-resource' | 'region-based';
|
||||
estimatedRequest?: Record<string, any>;
|
||||
candidateScores?: Record<string, any>[];
|
||||
rejectionReasons?: Record<string, any>[];
|
||||
|
||||
Reference in New Issue
Block a user