summaryrefslogtreecommitdiff
path: root/Juick
diff options
context:
space:
mode:
Diffstat (limited to 'Juick')
-rw-r--r--Juick/APIClient.m2
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];