mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
Read API version during service initialization rather than during first request [DPP-948] (#14455)
CHANGELOG_BEGIN CHANGELOG_END
This commit is contained in:
parent
df139c6eb1
commit
c8400d820a
@ -45,7 +45,7 @@ private[apiserver] final class ApiVersionService private (
|
||||
new DamlContextualizedErrorLogger(logger, loggingContext, None)
|
||||
|
||||
private val versionFile: String = "ledger-api/VERSION"
|
||||
private lazy val apiVersion: Try[String] = readVersion(versionFile)
|
||||
private val apiVersion: Try[String] = readVersion(versionFile)
|
||||
|
||||
private val featuresDescriptor =
|
||||
FeaturesDescriptor.of(
|
||||
|
Loading…
Reference in New Issue
Block a user