disable local router caches

This commit is contained in:
a10zn8
2022-12-12 17:10:39 +04:00
parent e144a9b0de
commit 2c666eed99
13 changed files with 53 additions and 23 deletions

View File

@@ -106,7 +106,7 @@ open class BitcoinMultistream(
.switchIfEmpty(Mono.error(Exception("No API available for $chain")))
}
override fun getRoutedApi(matcher: Selector.Matcher): Mono<Reader<JsonRpcRequest, JsonRpcResponse>> {
override fun getRoutedApi(localEnabled: Boolean): Mono<Reader<JsonRpcRequest, JsonRpcResponse>> {
return Mono.just(callRouter)
}