sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] unqueue the tqueue database even when mailsync is empty (was: [S


From: Kim Minh Kaplan
Subject: [PATCH] unqueue the tqueue database even when mailsync is empty (was: [Sks-devel] [PATCH] Bundle IPv6, DNS fixes, sks dump fix)
Date: Fri, 01 May 2009 14:18:54 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

When you don't have mailsync partners the db.log file fills up with
"<mail transmit keys>" error messages and the KDB/tqueue database is
never dequeued.  The attached patch fixes this.

Kim Minh.

diff -r 46c6aaac31da dbserver.ml
--- a/dbserver.ml       Sat Mar 28 22:04:00 2009 -0400
+++ b/dbserver.ml       Fri May 01 16:15:17 2009 +0200
@@ -608,7 +608,12 @@
            Keydb.txn_abort txn; 
            false
       with
-         e -> 
+       | Failure "No partners specified" ->
+           Keydb.txn_commit txn;
+           plerror 6 "No partners specified";
+           plerror 5 "transmission queue transaction committed";
+           true
+       | e -> 
            Keydb.txn_abort txn;
            raise e
              

reply via email to

[Prev in Thread] Current Thread [Next in Thread]