Skip to content

Commit

Permalink
Fix switch on low service level recheck (#750)
Browse files Browse the repository at this point in the history
  • Loading branch information
einarmo authored Dec 10, 2024
1 parent 5cfd8e1 commit f3e8907
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Extractor/Connect/SessionManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -323,10 +323,8 @@ private async Task<bool> UpdateServiceLevel(byte newLevel, bool fromConnection)
{
log.LogDebug("Server ServiceLevel updated {From} -> {To}", oldServiceLevel, newLevel);
}
else
{
return false;
}
// If service level equals old service level, we may still need to check
// for reconnect, if this is part of the periodic re-check.

bool triggerReconnect = false;
if (newLevel < config.Redundancy.ServiceLevelThreshold)
Expand Down
5 changes: 5 additions & 0 deletions manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ schema:
- "https://raw.githubusercontent.com/"

versions:
"2.32.1-beta2":
description: Fix issue causing the extractor to not properly change redundant server in some cases.
changelog:
fixed:
- Fix issue causing extractor not to properly switch between redundant servers when service level is bad without changing.
"2.32.1-beta1":
description: Experimental changes to connection logic.
changelog:
Expand Down

0 comments on commit f3e8907

Please sign in to comment.