Re: [notmuch] [PATCH] Add shell script notmuch-retry
authorJames Vasile <james@hackervisions.org>
Sat, 27 Feb 2010 04:10:16 +0000 (23:10 +1900)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:18 +0000 (09:36 -0800)
81/00806ec25d313ddc13b85c067ea7742abe2a91 [new file with mode: 0644]

diff --git a/81/00806ec25d313ddc13b85c067ea7742abe2a91 b/81/00806ec25d313ddc13b85c067ea7742abe2a91
new file mode 100644 (file)
index 0000000..eaffdf1
--- /dev/null
@@ -0,0 +1,60 @@
+Return-Path: <james@hackervisions.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id DC60B431FC0\r
+       for <notmuch@notmuchmail.org>; Fri, 26 Feb 2010 20:10:31 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.013\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.013 tagged_above=-999 required=5\r
+       tests=[AWL=-0.114, BAYES_50=0.001, RDNS_DYNAMIC=0.1] autolearn=no\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 2kBjfcCDnR1A for <notmuch@notmuchmail.org>;\r
+       Fri, 26 Feb 2010 20:10:31 -0800 (PST)\r
+Received: from hackervisions.org (67-207-143-141.slicehost.net\r
+       [67.207.143.141])\r
+       by olra.theworths.org (Postfix) with ESMTP id 8C3CA431FAE\r
+       for <notmuch@notmuchmail.org>; Fri, 26 Feb 2010 20:10:31 -0800 (PST)\r
+Received: from ool-18bd392a.dyn.optonline.net ([24.189.57.42] helo=localhost)\r
+       by hv with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69)\r
+       (envelope-from <james@hackervisions.org>)\r
+       id 1NlE0Y-0005qi-DA; Fri, 26 Feb 2010 23:10:26 -0500\r
+From: James Vasile <james@hackervisions.org>\r
+To: Carl Worth <cworth@cworth.org>, notmuch@notmuchmail.org\r
+In-Reply-To: <873a0n6ac8.fsf@yoom.home.cworth.org>\r
+References: <87pr3sw43a.fsf@hackervisions.org>\r
+       <873a0n6ac8.fsf@yoom.home.cworth.org>\r
+Date: Fri, 26 Feb 2010 23:10:16 -0500\r
+Message-ID: <87eik748uv.fsf@hackervisions.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Subject: Re: [notmuch] [PATCH] Add shell script notmuch-retry\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 27 Feb 2010 04:10:32 -0000\r
+\r
+On Fri, 26 Feb 2010 11:55:19 -0800, Carl Worth <cworth@cworth.org> wrote:\r
+> On Fri, 26 Feb 2010 07:53:29 -0500, James Vasile <james@hackervisions.org> wrote:\r
+> > Maybe this retry loop should be put in notmuch itself?\r
+> \r
+> Perhaps it should. I've even imagined something that would queue a\r
+> request into a daemon if the database isn't currently available.\r
+> \r
+> But of course there are issues about whether the caller would want to\r
+> know about the locking error, (or might actually need to block until the\r
+> operation is complete). So I'm not sure about the right answer here.\r
+\r
+--block and/or --queue?\r