diff --git a/Darkly/LDRequestManager.m b/Darkly/LDRequestManager.m index 805c2f36..4c2e9b3d 100644 --- a/Darkly/LDRequestManager.m +++ b/Darkly/LDRequestManager.m @@ -77,7 +77,7 @@ -(void)performFeatureFlagRequest:(NSString *)encodedUser [dataTask resume]; - dispatch_semaphore_wait(semaphore, kConnectionTimeout); + dispatch_semaphore_wait(semaphore, DISPATCH_TIME_FOREVER); } else { DEBUG_LOGX(@"RequestManager unable to sync config to server since no encodedUser"); @@ -117,7 +117,7 @@ -(void)performEventRequest:(NSArray *)jsonEventArray [dataTask resume]; - dispatch_semaphore_wait(semaphore, kConnectionTimeout); + dispatch_semaphore_wait(semaphore, DISPATCH_TIME_FOREVER); } else { DEBUG_LOGX(@"RequestManager unable to sync events to server since no events");