Fix buffering issue

This commit is contained in:
Anton Tananaev 2025-06-10 07:39:30 -07:00
parent f8ce088a0b
commit ede7d06be5

View file

@ -64,7 +64,7 @@ class Preferences {
},
distanceFilter: instance.getInt(distance)?.toDouble(),
locationUpdateInterval: (instance.getInt(interval) ?? 0) * 1000,
maxRecordsToPersist: instance.getBool(buffer) != false ? -1 : 0,
maxRecordsToPersist: instance.getBool(buffer) != false ? -1 : 1,
logLevel: bg.Config.LOG_LEVEL_INFO,
logMaxDays: 1,
locationTemplate: _locationTemplate(),