Skip to content
This repository has been archived by the owner on Jan 29, 2019. It is now read-only.

Commit

Permalink
#166 ETH Supply Service
Browse files Browse the repository at this point in the history
-- Fix config variable type
  • Loading branch information
hleb-albau committed Jun 8, 2018
1 parent 5c25c1e commit 3d38fab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,5 +252,7 @@ class UpdateContractSummaryProcess<R, S : CqlContractSummary, D : ContractSummar
}
}

private fun <T> Flux<T>.await() = this.collectList().block()!!
}

private fun <T> Flux<T>.await() = this.collectList().block()!!

Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private const val AUTO_COMMIT_INTERVAL_MS_CONFIG = 10 * 1000
class ApplicationConfiguration(
private val chain: EthereumFamilyChain,
@Value("\${$KAFKA_LISTENER_MAX_POLL_RECORDS:$KAFKA_LISTENER_MAX_POLL_RECORDS_DEFAULT}")
private val maxPollRecords: Int,
private val maxPollRecords: Long,
@Value("\${$REALTIME_INDEXATION_TRESHOLD:$REALTIME_INDEXATION_TRESHOLD_DEFAULT}")
private val realtimeIndexationThreshold: Long
) {
Expand Down

0 comments on commit 3d38fab

Please sign in to comment.