mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-19 14:25:21 +00:00
Added SOGoMaximumSyncResponseSize to support memory-limited EAS syncs
This commit is contained in:
1 parent
b07913d66d
commit
8015688df3
5 files changed
+51
-14
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user