Skip to content

Commit

Permalink
update period for finalization check
Browse files Browse the repository at this point in the history
  • Loading branch information
Termina1 committed Jun 11, 2024
1 parent cce2bcf commit 53727c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class EthereumFinalizationDetector : FinalizationDetector {
val timer =
Flux.merge(
Flux.just(1),
Flux.interval(blockTime.coerceAtLeast(Duration.ofSeconds(1)).multipliedBy(6)),
Flux.interval(Duration.ofSeconds(15)),
)
return timer.flatMap {
Flux.fromIterable(
Expand Down

0 comments on commit 53727c2

Please sign in to comment.