Skip to content

Commit

Permalink
Merge pull request #1307 from novasamatech/hotfix/7.6.3
Browse files Browse the repository at this point in the history
Hotfix/7.6.3
  • Loading branch information
antonijzelinskij authored Jan 5, 2024
2 parents 5744229 + 919770c commit 47e9628
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
buildscript {
ext {
// App version
versionName = '7.6.2'
versionCode = 106
versionName = '7.6.3'
versionCode = 107

applicationId = "io.novafoundation.nova"
releaseApplicationSuffix = "market"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,7 @@ private class NodeSwitcher(
balanceStrategy = strategy

nodeIterator = balanceStrategy.generateNodeIterator(saturatedNodes)

// we do not update currentNode since we want to be lazy here - only update node if it is failing
selectNextNode()
}

@Synchronized
Expand All @@ -286,6 +285,10 @@ private class NodeSwitcher(

@Suppress
fun markCurrentNodeNotAccessible() {
selectNextNode()
}

private fun selectNextNode() {
currentNodeUrl = nodeIterator?.next()?.saturatedUrl
}
}
Expand Down

0 comments on commit 47e9628

Please sign in to comment.