problem: missing height in status log
This commit is contained in:
@@ -270,7 +270,7 @@ abstract class Multistream(
|
|||||||
fun printStatus() {
|
fun printStatus() {
|
||||||
var height: Long? = null
|
var height: Long? = null
|
||||||
try {
|
try {
|
||||||
height = getHead().getFlux().next().block(Duration.ofSeconds(1))?.height
|
height = getHead().getCurrentHeight()
|
||||||
} catch (e: java.lang.IllegalStateException) {
|
} catch (e: java.lang.IllegalStateException) {
|
||||||
//timout
|
//timout
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
|
|||||||
Reference in New Issue
Block a user