Added SOGoMaximumSyncResponseSize to support memory-limited EAS syncs

This commit is contained in:
Ludovic Marcotte
2014-12-22 11:50:51 -05:00
parent b07913d66d
commit 8015688df3
5 changed files with 51 additions and 14 deletions
+12
View File
@@ -636,4 +636,16 @@ _injectConfigurationFromFile (NSMutableDictionary *defaultsDict,
return [self integerForKey: @"SOGoMaximumSyncWindowSize"];
}
- (int) maximumSyncResponseSize
{
int v;
v = [self integerForKey: @"SOGoMaximumSyncResponseSize"];
if (v > 0)
v = v * 1024;
return v;
}
@end