change delay to 1.5s

This commit is contained in:
Milos Kozak 2020-05-28 21:33:36 +02:00 committed by GitHub
parent 79cafc14f5
commit 02aff75dff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1382,7 +1382,7 @@ public class LocalInsightPlugin extends PumpPluginBase implements PumpInterface,
pumpID.eventID = event.getEventPosition();
pumpID.pumpSerial = serial;
pumpID.eventType = "EndOfTBR";
pumpID.timestamp = timestamp - 5000L;
pumpID.timestamp = timestamp - 1500L;
MainApp.getDbHelper().createOrUpdate(pumpID);
TemporaryBasal temporaryBasal = new TemporaryBasal(getInjector());
temporaryBasal.durationInMinutes = 0;