From c08149adef3e079d868528f57f4d21be41c4611a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= Date: Fri, 5 Oct 2018 11:12:55 +0200 Subject: [PATCH] [SOGo] EAS changes, larger timeout --- data/conf/nginx/site.conf | 8 ++++---- data/conf/sogo/sogo.conf | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/data/conf/nginx/site.conf b/data/conf/nginx/site.conf index 840e253d..871413bd 100644 --- a/data/conf/nginx/site.conf +++ b/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; diff --git a/data/conf/sogo/sogo.conf b/data/conf/sogo/sogo.conf index 0a345f94..b5979c82 100644 --- a/data/conf/sogo/sogo.conf +++ b/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;