Browse Source

[SOGo] EAS changes, larger timeout

André 7 years ago
parent
commit
c08149adef
2 changed files with 10 additions and 10 deletions
  1. 4 4
      data/conf/nginx/site.conf
  2. 6 6
      data/conf/sogo/sogo.conf

+ 4 - 4
data/conf/nginx/site.conf

@@ -132,12 +132,12 @@ server {
 
   location ^~ /Microsoft-Server-ActiveSync {
     include /etc/nginx/conf.d/sogo_eas.active;
-    proxy_connect_timeout 1000;
+    proxy_connect_timeout 4000;
     proxy_next_upstream timeout error;
-    proxy_send_timeout 1000;
-    proxy_read_timeout 1000;
+    proxy_send_timeout 4000;
+    proxy_read_timeout 4000;
     proxy_buffer_size 8k;
-    proxy_buffers 4 32k;
+    proxy_buffers 16 64k;
     proxy_temp_file_write_size 64k;
     proxy_busy_buffers_size 64k;
     proxy_set_header X-Real-IP $remote_addr;

+ 6 - 6
data/conf/sogo/sogo.conf

@@ -39,17 +39,17 @@
 
     SxVMemLimit = 384;
 
-    SOGoMaximumPingInterval = 354;
+    SOGoMaximumPingInterval = 3540;
 
-    SOGoInternalSyncInterval = 30;
-    SOGoMaximumSyncInterval = 354;
+    SOGoInternalSyncInterval = 45;
+    SOGoMaximumSyncInterval = 3540;
 
     // 100 seems to break some Android clients
-    SOGoMaximumSyncWindowSize = 99;
+    //SOGoMaximumSyncWindowSize = 99;
     // This should do the trick for Outlook 2016
-    SOGoMaximumSyncResponseSize = 2048;
+    SOGoMaximumSyncResponseSize = 512;
 
-    WOWatchDogRequestTimeout = 10;
+    WOWatchDogRequestTimeout = 20;
     WOListenQueueSize = 300;
     WONoDetach = YES;