瀏覽代碼

Limits z-push sync to 3 months

This prevents timeouts when trying to sync very large mailboxes. By
default, z-push attempts to get headers for all messages in a folder.
James Ravn 10 年之前
父節點
當前提交
46eabbedd7
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. 3
    3
      roles/mailserver/templates/usr_share_z-push_config.php.j2

+ 3
- 3
roles/mailserver/templates/usr_share_z-push_config.php.j2 查看文件

@@ -128,7 +128,7 @@
128 128
     //   SYNC_FILTERTYPE_ALL (default, no limitation)
129 129
     //   SYNC_FILTERTYPE_1DAY, SYNC_FILTERTYPE_3DAYS, SYNC_FILTERTYPE_1WEEK, SYNC_FILTERTYPE_2WEEKS,
130 130
     //   SYNC_FILTERTYPE_1MONTH, SYNC_FILTERTYPE_3MONTHS, SYNC_FILTERTYPE_6MONTHS
131
-    define('SYNC_FILTERTIME_MAX', SYNC_FILTERTYPE_ALL);
131
+    define('SYNC_FILTERTIME_MAX', SYNC_FILTERTYPE_3MONTHS);
132 132
 
133 133
     // Interval in seconds before checking if there are changes on the server when in Ping.
134 134
     // It means the highest time span before a change is pushed to a mobile. Set it to
@@ -233,8 +233,8 @@
233 233
     //  BackendVCardDir settings
234 234
     // **********************
235 235
     define('VCARDDIR_DIR', '/home/%u/.kde/share/apps/kabc/stdvcf');
236
-    
237
-    
236
+
237
+
238 238
 /**********************************************************************************
239 239
  *  Search provider settings
240 240
  *

Loading…
取消
儲存