Poll for closed group messages more frequently

pull/481/head
Niels Andriesse 4 years ago
parent 9565358b55
commit 8f29010e89

@ -7,8 +7,8 @@ public final class ClosedGroupPoller : NSObject {
private var timers: [String:Timer] = [:] private var timers: [String:Timer] = [:]
// MARK: Settings // MARK: Settings
private static let minPollInterval: Double = 4 private static let minPollInterval: Double = 2
private static let maxPollInterval: Double = 2 * 60 private static let maxPollInterval: Double = 30
// MARK: Error // MARK: Error
private enum Error : LocalizedError { private enum Error : LocalizedError {

Loading…
Cancel
Save