Just setting this as a string because my jackson mapper doesn't seem to be working and I'm too long into this to care enough to fix it properly right now

This commit is contained in:
NovaFox161
2025-07-28 01:44:26 -05:00
parent 0938dff9d5
commit b075b36c69

View File

@@ -11,7 +11,8 @@ data class InstanceDataV3Model(
val version: String = GitProperty.DISCAL_VERSION.value,
val d4jVersion: String = GitProperty.DISCAL_VERSION_D4J.value,
val uptime: Duration = Application.getUptime(),
val lastHeartbeat: Instant = Instant.now(),
// TODO: This really should just be instant, but my custom jackson mapper doesn't seem to be working
val lastHeartbeat: String = Instant.now().toString(),
val memory: Double = Application.getMemoryUsedInMb(),
) {
val humanUptime: String