Explorar o código

Test to loop more often (if this is the correct way to make that happen?).

Jon Mårtensson %!s(int64=4) %!d(string=hai) anos
pai
achega
cfa5979844

+ 1 - 1
FreeAPS/Sources/APS/Storage/GlucoseStorage.swift

@@ -18,7 +18,7 @@ final class BaseGlucoseStorage: GlucoseStorage, Injectable {
     @Injected() private var broadcaster: Broadcaster!
 
     private enum Config {
-        static let filterTime: TimeInterval = 2.75 * 60 // Before edit this was 4.75
+        static let filterTime: TimeInterval = 1 * 60 // Before edit this was 4.75
     }
 
     init(resolver: Resolver) {

+ 1 - 1
FreeAPS/Sources/Config/Config.swift

@@ -4,6 +4,6 @@ import SwiftDate
 enum Config {
     static let treatWarningsAsErrors = true
     static let withSignPosts = false
-    static let loopInterval = 5.minutes.timeInterval
+    static let loopInterval = 2.minutes.timeInterval
     static let eхpirationInterval = 10.minutes.timeInterval
 }