Changing lastSeen to epoc and not min

This commit is contained in:
Brage Skjønborg 2026-01-05 03:33:56 +01:00
parent e72a4678fc
commit 40e9c9d265

View File

@ -12,7 +12,7 @@ abstract class EventPollerImplementation(
private val dispatchQueue: SequenceDispatchQueue,
private val dispatcher: EventDispatcher
) {
var lastSeenTime: LocalDateTime = LocalDateTime.MIN
var lastSeenTime: LocalDateTime = LocalDateTime.of(1970, 1, 1, 0, 0)
open var backoff = Duration.ofSeconds(2)
protected set
private val maxBackoff = Duration.ofMinutes(1)