[PR #398] [CLOSED] feature(calculation): Run calculations only until the used node is not the one with the highest usage anymore. #178

Closed
opened 2026-03-02 05:14:54 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/gyptazy/ProxLB/pull/398
Author: @gyptazy
Created: 12/13/2025
Status: Closed

Base: mainHead: feature/balance-only-to-next-node


📝 Commits (1)

  • 5304147 feature(calculation): Run calculations only until the used node is not the one with the highest usage anymore.

📊 Changes

2 files changed (+42 additions, -1 deletions)

View changed files

📝 proxlb/models/calculations.py (+40 -0)
📝 proxlb/models/tags.py (+2 -1)

📄 Description

feature(calculation): Run calculations only until the used node is not the one with the highest usage anymore.

  • Run balancing calculations only until the used node is not the one with the highest usage anymore.
    • Avoiding more relocation
    • Avoiding "insane" outputs in smaller clusters
  • Fix pool based node pinning when empty

Fixes: #395
Fixes: #390


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/gyptazy/ProxLB/pull/398 **Author:** [@gyptazy](https://github.com/gyptazy) **Created:** 12/13/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feature/balance-only-to-next-node` --- ### 📝 Commits (1) - [`5304147`](https://github.com/gyptazy/ProxLB/commit/530414723dbd7d5e7086dac65a770b748dd86f22) feature(calculation): Run calculations only until the used node is not the one with the highest usage anymore. ### 📊 Changes **2 files changed** (+42 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `proxlb/models/calculations.py` (+40 -0) 📝 `proxlb/models/tags.py` (+2 -1) </details> ### 📄 Description feature(calculation): Run calculations only until the used node is not the one with the highest usage anymore. * Run balancing calculations only until the used node is not the one with the highest usage anymore. * Avoiding more relocation * Avoiding "insane" outputs in smaller clusters * Fix pool based node pinning when empty Fixes: #395 Fixes: #390 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 05:14:54 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxLB-gyptazy#178
No description provided.