Re: Cheap way to check for new messages in a thread

2023-03-28 Thread Konstantin Ryabitsev
On Tue, Mar 28, 2023 at 10:08:30PM +, Eric Wong wrote: > > I think this is a workable approach, but would require a reindex, right? > > Yes, it requires a reindex to take effect, which takes ~2 days > on my lore mirror. The biggest problem is MUAs are likely to > cull References: when

Re: Cheap way to check for new messages in a thread

2023-03-28 Thread Eric Wong
Konstantin Ryabitsev wrote: > On Tue, Mar 28, 2023 at 07:45:49PM +, Eric Wong wrote: > > C) index References:/In-Reply-To: so searching `ref:$MSGID' > >can work. This doesn't work for some MUAs and deep > >threads, though. > > I think this is a workable approach, but would require a

Re: Cheap way to check for new messages in a thread

2023-03-28 Thread Konstantin Ryabitsev
On Tue, Mar 28, 2023 at 07:45:49PM +, Eric Wong wrote: > C) index References:/In-Reply-To: so searching `ref:$MSGID' >can work. This doesn't work for some MUAs and deep >threads, though. I think this is a workable approach, but would require a reindex, right? -K

Re: Cheap way to check for new messages in a thread

2023-03-28 Thread Eric Wong
Konstantin Ryabitsev wrote: > On Mon, Mar 27, 2023 at 09:38:49PM +, Eric Wong wrote: > > I thought about that, too; but I'm worried about having one-off > > stuff that ends up needing to be supported indefinitely. > > > > JMAP for this would take more time, but I'd be more comfortable > >

Re: Cheap way to check for new messages in a thread

2023-03-28 Thread Konstantin Ryabitsev
On Mon, Mar 27, 2023 at 09:38:49PM +, Eric Wong wrote: > I thought about that, too; but I'm worried about having one-off > stuff that ends up needing to be supported indefinitely. > > JMAP for this would take more time, but I'd be more comfortable > carrying it long-term. > > I don't expect

[PATCH] inotify: wrap with informative error message

2023-03-28 Thread Eric Wong
Louis DeLosSantos wrote: > > Thats a lot of tail processes > Ugh, sorry to waste your time. Not at all. Thank you for sharing your experience with us as it will benefit future users, especially since lei is still in its early days. I think the patch below can help future users. > All the

[PATCH] t/lei-refresh-mail-sync: improve test reliability

2023-03-28 Thread Eric Wong
Lack of signalfd/EVFILT_SIGNAL means we need to kill a process repeatedly to ensure it wakes up. --- t/lei-refresh-mail-sync.t | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/t/lei-refresh-mail-sync.t b/t/lei-refresh-mail-sync.t index 0498a0c4..8ccc68c6 100644 ---