Changing lastSeen to epoc and not min
This commit is contained in:
parent
e72a4678fc
commit
40e9c9d265
@ -12,7 +12,7 @@ abstract class EventPollerImplementation(
|
|||||||
private val dispatchQueue: SequenceDispatchQueue,
|
private val dispatchQueue: SequenceDispatchQueue,
|
||||||
private val dispatcher: EventDispatcher
|
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)
|
open var backoff = Duration.ofSeconds(2)
|
||||||
protected set
|
protected set
|
||||||
private val maxBackoff = Duration.ofMinutes(1)
|
private val maxBackoff = Duration.ofMinutes(1)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user