From 59ebc2e3b63c361e24c22eab49a21f5c3ccced03 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 11 Jun 2010 12:05:57 +0200 Subject: [PATCH] sync store on every run --- .offlineimap/helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.39.5