瀏覽代碼

[SOGo] EAS changes, larger timeout

André 7 年之前
父節點
當前提交
c08149adef
共有 2 個文件被更改,包括 10 次插入10 次删除
  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 {
   location ^~ /Microsoft-Server-ActiveSync {
     include /etc/nginx/conf.d/sogo_eas.active;
     include /etc/nginx/conf.d/sogo_eas.active;
-    proxy_connect_timeout 1000;
+    proxy_connect_timeout 4000;
     proxy_next_upstream timeout error;
     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_buffer_size 8k;
-    proxy_buffers 4 32k;
+    proxy_buffers 16 64k;
     proxy_temp_file_write_size 64k;
     proxy_temp_file_write_size 64k;
     proxy_busy_buffers_size 64k;
     proxy_busy_buffers_size 64k;
     proxy_set_header X-Real-IP $remote_addr;
     proxy_set_header X-Real-IP $remote_addr;

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

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