Commit 525be067 authored by Bosko Petreski's avatar Bosko Petreski Committed by Bosko Petreski

small fix in timer

parent 5399602b
......@@ -166,7 +166,7 @@
[self emitFromDatabase];
}];
} else {
[NSTimer scheduledTimerWithTimeInterval:self.heartbeatInterval target:self selector:@selector(emitFromDatabase) userInfo:nil repeats:YES];
[NSTimer scheduledTimerWithTimeInterval:self.eventQueueRetryInterval target:self selector:@selector(emitFromDatabase) userInfo:nil repeats:YES];
}
[NSNotificationCenter.defaultCenter addObserverForName:UIApplicationDidBecomeActiveNotification object:nil queue:NSOperationQueue.mainQueue usingBlock:^(NSNotification * _Nonnull note) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment