Преглед на файлове

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…
Отказ
Запис