Skip to content

Fixed(application-graph): log application init and release time in milliseconds - #858

Open
salatmaster wants to merge 1 commit into
kora-projects:masterfrom
salatmaster:fix/854-init-time-units
Open

Fixed(application-graph): log application init and release time in milliseconds#858
salatmaster wants to merge 1 commit into
kora-projects:masterfrom
salatmaster:fix/854-init-time-units

Conversation

@salatmaster

Copy link
Copy Markdown
Contributor

Closes #854

KoraApplication делило разницу System.nanoTime() на 1000, то есть считало микросекунды, а в лог писало ms. Теперь используется Duration.ofNanos(...).toMillis().

Было:

Application initialized in 211380ms (JVM running for 0.237s)

Стало:

Application initialized in 211ms (JVM running for 0.237s)

То же самое исправлено в Application released in {}ms.


EN: KoraApplication divided a System.nanoTime() delta by 1000, so both the init and the release log lines reported microseconds while labeling them as milliseconds.

…lliseconds

`KoraApplication` divided a `System.nanoTime()` delta by 1000, so both
"Application initialized in {}ms" and "Application released in {}ms"
reported microseconds while labeling them as milliseconds.

Closes kora-projects#854
@github-actions

Copy link
Copy Markdown

Dependency Update Report

Update level: patch

Found 11 dependency updates.

gradle/libs.versions.toml

  • liquibase (org.liquibase:liquibase-core, inline:134): 5.0.3 -> 5.0.4
  • jackson: 3.2.1 -> 3.2.2
  • byte-buddy: 1.18.11 -> 1.18.12
  • zeebe: 8.9.15 -> 8.9.17
  • logback: 1.6.2 -> 1.6.3
  • jackson2-coreline: 2.22.1 -> 2.22.2
  • swagger-coreline: 2.2.53 -> 2.2.54
  • swagger-parser: 2.1.46 -> 2.1.47
  • micrometer: 1.17.0 -> 1.17.1
  • classgraph (io.github.classgraph:classgraph, inline:172): 4.8.191 -> 4.8.193

buildSrc/build.gradle

  • line 7: tools.jackson.core:jackson-databind (jackson-databind) 3.2.1 -> 3.2.2

@GoodforGod GoodforGod added this to the v2.0.0 milestone Aug 23, 2026
@GoodforGod GoodforGod added bug Something isn't working module: core Core framework modules labels Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working module: core Core framework modules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Application init/release time is logged in microseconds but labeled as ms

2 participants