Re: [PATCH v4 08/16] reorganize indexing of multipart/signed and multipart/encrypted
[notmuch-archives.git] / 74 / fcf8a927fcc412583ab6622292fac6ab377221
1 Return-Path: <rlb@defaultvalue.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 062BC431FD0\r
6         for <notmuch@notmuchmail.org>; Sun, 20 Feb 2011 11:18:04 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id hXFKZPsDceJp for <notmuch@notmuchmail.org>;\r
16         Sun, 20 Feb 2011 11:18:03 -0800 (PST)\r
17 Received: from defaultvalue.org (defaultvalue.org [70.85.129.156])\r
18         by olra.theworths.org (Postfix) with ESMTP id 3E852431FB6\r
19         for <notmuch@notmuchmail.org>; Sun, 20 Feb 2011 11:18:03 -0800 (PST)\r
20 Received: from omen.defaultvalue.org (localhost [127.0.0.1])\r
21         by defaultvalue.org (Postfix) with ESMTP id 004BC90D42\r
22         for <notmuch@notmuchmail.org>; Sun, 20 Feb 2011 13:18:19 -0600 (CST)\r
23 Received: from raven.defaultvalue.org (raven.defaultvalue.org [192.168.1.7])\r
24         by omen.defaultvalue.org (Postfix) with ESMTP id 0192D5022F\r
25         for <notmuch@notmuchmail.org>; Sun, 20 Feb 2011 13:18:02 -0600 (CST)\r
26 Received: by raven.defaultvalue.org (Postfix, from userid 1000)\r
27         id DED207BA2C5; Sun, 20 Feb 2011 13:18:01 -0600 (CST)\r
28 From: Rob Browning <rlb@defaultvalue.org>\r
29 To: notmuch@notmuchmail.org\r
30 Subject: Re: RFC: Dovecot locking\r
31 References: <87zkpvv01u.fsf@trouble.defaultvalue.org>\r
32         <87r5b5e3qm.fsf@raven.defaultvalue.org>\r
33         <87wrku5yrf.fsf@raven.defaultvalue.org>\r
34 Date: Sun, 20 Feb 2011 13:18:01 -0600\r
35 In-Reply-To: <87wrku5yrf.fsf@raven.defaultvalue.org> (Rob Browning's message\r
36         of "Sun, 20 Feb 2011 12:47:32 -0600")\r
37 Message-ID: <87ipwe5xcm.fsf@raven.defaultvalue.org>\r
38 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)\r
39 MIME-Version: 1.0\r
40 Content-Type: text/plain; charset=us-ascii\r
41 X-BeenThere: notmuch@notmuchmail.org\r
42 X-Mailman-Version: 2.1.13\r
43 Precedence: list\r
44 List-Id: "Use and development of the notmuch mail system."\r
45         <notmuch.notmuchmail.org>\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
49 List-Post: <mailto:notmuch@notmuchmail.org>\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
53 X-List-Received-Date: Sun, 20 Feb 2011 19:18:04 -0000\r
54 \r
55 Rob Browning <rlb@defaultvalue.org> writes:\r
56 \r
57 > It looks like dovecot's interval is 10 seconds, so for this to work\r
58 > right, notmuch will need to call lockfile_touch() more often than that.\r
59 >\r
60 >   /* How often to touch the uidlist lock file when it's locked.\r
61 >      This is done both when using KEEP_LOCKED flag and when syncing a large\r
62 >      maildir. */\r
63 >   #define MAILDIR_LOCK_TOUCH_SECS 10\r
64 >\r
65 > As yet, I don't know if that's likely to be easy to add.\r
66 \r
67 OK, Austin just pointed out that we probably don't need this, at least\r
68 with the current code.  I was just being overly conservative.\r
69 \r
70 Since we only hold the lock for the duration of a rename, I don't think\r
71 there's any need for lockfile_touch().\r
72 \r
73 Thanks\r
74 -- \r
75 Rob Browning\r
76 rlb @defaultvalue.org and @debian.org\r
77 GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4\r