diff options
author | Vitaly Takmazov | 2019-07-02 00:03:10 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2019-07-02 00:03:10 +0300 |
commit | 28c86129a6d6eaa43be5d0887ca236202923a88d (patch) | |
tree | 01ed966eec6da76278830d4c3c899cc0d938ea58 | |
parent | 51ce38eb551e961cbd6684e940929426586fe08b (diff) |
Increase delay before opening notification
-rw-r--r-- | Juick/APIClient.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Juick/APIClient.m b/Juick/APIClient.m index 24efc60..2712f1d 100644 --- a/Juick/APIClient.m +++ b/Juick/APIClient.m @@ -53,7 +53,7 @@ } -(void) pullNextFromPath:(NSString *)path params:(NSDictionary *) params callback:(void(^)(NSArray<Message *> *, NSError *))callback { - dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.1f * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ + dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.2f * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ [self.backgroundQueue addOperationWithBlock:^{ [self.manager GET:path parameters:params progress:nil success:^(NSURLSessionDataTask * _Nonnull task, id _Nullable responseObject) { NSInteger statusCode = [((NSHTTPURLResponse *) task.response) statusCode]; |