Skip to content

Commit

Permalink
Set the indexer URL without callback
Browse files Browse the repository at this point in the history
  • Loading branch information
ruixhuang committed Sep 18, 2024
1 parent 11a433c commit 6439a1b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ allprojects {
}

group = "exchange.dydx.abacus"
version = "1.11.9"
version = "1.11.10"

repositories {
google()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,16 +171,7 @@ internal class ConnectionsSupervisor(
}

private fun bestEffortConnectIndexer() {
findOptimalIndexer { config ->
this.indexerConfig = config
}
}

private fun findOptimalIndexer(callback: (config: IndexerURIs?) -> Unit) {
val first = helper.configs.indexerConfigs?.firstOrNull()
helper.ioImplementations.threading?.async(ThreadingType.abacus) {
callback(first)
}
indexerConfig = helper.configs.indexerConfigs?.firstOrNull()
}

private fun bestEffortConnectChain() {
Expand Down
2 changes: 1 addition & 1 deletion v4_abacus.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'v4_abacus'
spec.version = '1.11.9'
spec.version = '1.11.10'
spec.homepage = 'https://github.com/dydxprotocol/v4-abacus'
spec.source = { :http=> ''}
spec.authors = ''
Expand Down

0 comments on commit 6439a1b

Please sign in to comment.