Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/main/scala/dpla/api/v2/search/ElasticSearchClient.scala
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ object ElasticSearchClient {
maxFailures = maxFailures,
callTimeout = callTimeout,
resetTimeout = resetTimeout
).onOpen(() => context.log.warn("ElasticSearch circuit breaker opened"))
.onClose(() => context.log.info("ElasticSearch circuit breaker closed"))
.onHalfOpen(() => context.log.info("ElasticSearch circuit breaker half-open, testing ES"))
).onOpen(() => log.warn("ElasticSearch circuit breaker opened"))
.onClose(() => log.info("ElasticSearch circuit breaker closed"))
.onHalfOpen(() => log.info("ElasticSearch circuit breaker half-open, testing ES"))

Behaviors.receiveMessage[IntermediateSearchResult] {

Expand Down
Loading