From: martin f. krafft <madduck@madduck.net>
Date: Fri, 11 Jun 2010 10:05:57 +0000 (+0200)
Subject: sync store on every run
X-Git-Url: https://git.madduck.net/etc/offlineimap.git/commitdiff_plain/59ebc2e3b63c361e24c22eab49a21f5c3ccced03?hp=34aea3df3c5a2a6e4cf9243bc8826084d6669570

sync store on every run
---

diff --git a/.offlineimap/helper.py b/.offlineimap/helper.py
index 74400ca..573dd20 100644
--- a/.offlineimap/helper.py
+++ b/.offlineimap/helper.py
@@ -3,7 +3,7 @@
 import re, os, stat, time, atexit
 
 base_excludes = ['delayed', 'outgoing', 'Trash', 'Sent', 'Queue']
-full_excludes_re = ['discard', 'spool', 'spam', 'store(\..+)?']
+full_excludes_re = ['discard', 'spool', 'spam', 'store\..+']
 prioritised = ['outgoing','resubmit','drafts','inbox','phd','ul','debian','sudetia','admin','retrain']
 deprioritised = ['discard','spam','store','spool']
 
@@ -25,7 +25,7 @@ def py_nametrans_seamus(x):
 
 def should_do_full_sync():
     FILE = os.path.expanduser('~/.var/offlineimap/lastrun')
-    INTERVAL = 86400/2
+    INTERVAL = 86400/6
     now = int(time.time())
 
     try: