Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
jachro committed Jan 31, 2024
2 parents 0b1acfe + 29b97a5 commit d7a7bc4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ object ConfigValues extends ConfigDecoders:
val url = env(s"${prefix}_SOLR_URL").default("http://localhost:8983/solr").as[Uri]
val core = env(s"${prefix}_SOLR_CORE").default("search-core-test")
val defaultCommit =
env(s"${prefix}_SOLR_DEFAULT_COMMIT_WITHIN").default("0").as[FiniteDuration].option
env(s"${prefix}_SOLR_DEFAULT_COMMIT_WITHIN")
.default("0 seconds")
.as[FiniteDuration]
.option
val logMessageBodies =
env(s"${prefix}_SOLR_LOG_MESSAGE_BODIES").default("false").as[Boolean]
(url, core, defaultCommit, logMessageBodies).mapN(SolrConfig.apply)
Expand Down

0 comments on commit d7a7bc4

Please sign in to comment.