fix: remove unused weight from quota config
The quota scoring weight is managed in HybridStrategy's DEFAULT_WEIGHTS, not in the config.quota block. Removed to avoid confusion.
This commit is contained in:
@@ -38,8 +38,7 @@ const DEFAULT_CONFIG = {
|
|||||||
quota: {
|
quota: {
|
||||||
lowThreshold: 0.10, // 10% - reduce score
|
lowThreshold: 0.10, // 10% - reduce score
|
||||||
criticalThreshold: 0.05, // 5% - exclude from candidates
|
criticalThreshold: 0.05, // 5% - exclude from candidates
|
||||||
staleMs: 300000, // 5 min - max age of quota data to trust
|
staleMs: 300000 // 5 min - max age of quota data to trust
|
||||||
weight: 3 // Scoring weight (same scale as health/tokens)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user