소스 검색

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…
취소
저장