Add sticky round-robin for combos (#831)

Made-with: Cursor
This commit is contained in:
Abhishek Divekar 2026-05-01 15:06:36 +05:30 committed by GitHub
parent 0da61d8f7b
commit 3f17ee0e21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 160 additions and 24 deletions

View file

@ -70,6 +70,7 @@ export async function PATCH(request) {
// Invalidate combo rotation state when strategy settings change
if (
Object.prototype.hasOwnProperty.call(body, "comboStrategy") ||
Object.prototype.hasOwnProperty.call(body, "comboStickyRoundRobinLimit") ||
Object.prototype.hasOwnProperty.call(body, "comboStrategies")
) {
resetComboRotation();