lastEventTimeLoaded is never updated - causes full fetch on each communication attempt
This commit is contained in:
parent
d7a8323bc8
commit
97c11bc3e1
|
@ -277,7 +277,7 @@ class MsgHistoryEventsV2 constructor(
|
||||||
status = "UNKNOWN " + dateUtil.timeString(datetime)
|
status = "UNKNOWN " + dateUtil.timeString(datetime)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (datetime > danaPump.lastEventTimeLoaded) danaPump.lastEventTimeLoaded = datetime
|
if (datetime > danaRv2Plugin.lastEventTimeLoaded) danaRv2Plugin.lastEventTimeLoaded = datetime
|
||||||
rxBus.send(EventPumpStatusChanged(rh.gs(info.nightscout.pump.dana.R.string.processinghistory) + ": " + status))
|
rxBus.send(EventPumpStatusChanged(rh.gs(info.nightscout.pump.dana.R.string.processinghistory) + ": " + status))
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue