Merge pull request #2687 from MilosKozak/insight-artificial-end-delay

Insight: Log end events five seconds earlier
This commit is contained in:
Milos Kozak 2020-06-11 18:11:43 +02:00 committed by GitHub
commit 6220eb1697
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1391,7 +1391,7 @@ public class LocalInsightPlugin extends PumpPluginBase implements PumpInterface,
temporaryBasal.durationInMinutes = 0; temporaryBasal.durationInMinutes = 0;
temporaryBasal.source = Source.PUMP; temporaryBasal.source = Source.PUMP;
temporaryBasal.pumpId = pumpID.id; temporaryBasal.pumpId = pumpID.id;
temporaryBasal.date = timestamp; temporaryBasal.date = timestamp - 1500L;
temporaryBasals.add(temporaryBasal); temporaryBasals.add(temporaryBasal);
} }