Sharing a single lei-daemon across multiple processes still
exhibits reliability problems, and reliably checking
lei-daemon's inotify internals seems impossible without.
Even without lei-daemon sharing, "make check-run" is a few
seconds faster than "make check" for me.
---
t/run.perl | 9
On slower systems, even a 100ms delay may not be enough;
so loop and retry in hopes of an early exit for faster
systems.
---
t/lei-auto-watch.t | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/t/lei-auto-watch.t b/t/lei-auto-watch.t
index 146402a6..3b0c1b10 100644
Eric Wong (2):
t/lei-auto-watch: improve test reliability
tests: "make check-run" favors reliability over speed
t/lei-auto-watch.t | 13 -
t/run.perl | 9 +
2 files changed, 13 insertions(+), 9 deletions(-)
--
unsubscribe: one-click, see List-Unsubscribe header
Konstantin Ryabitsev wrote:
> Eric:
>
> I am getting ready for my presentation to the Linux Plumbers (happening in a
> few weeks, eek), which is based around lore, lei (I see what you did there)
> and search-based subscriptions. I want to make it hands-on with practical
> examples, which is what
Eric:
I am getting ready for my presentation to the Linux Plumbers (happening in a
few weeks, eek), which is based around lore, lei (I see what you did there)
and search-based subscriptions. I want to make it hands-on with practical
examples, which is what developers would appreciate more than
Hello:
As reported to me today, the following page generates broken links:
https://lore.kernel.org/lkml/20210902185610.aejfdhjl52l2ivpb@meerkat.local/
The url= entry in PI_CONFIG is just:
url = tools
Theoretically, it would be fixed if the URL was with a leading /, like so:
url = /tools
My FreeBSD VM seems to need longer for this test than inotify
under Linux, likely because the kevent support code is more
complicated in userspace and needs extra file handles.
And drop unnecessary tick delay after "note-event done" since
that seems unneeded with transactions eliminated for
This will be needed as we track changes in real-time, especially
for "lei index" since there's no storage involved.
---
lib/PublicInbox/LeiInput.pm | 20 ++--
lib/PublicInbox/LeiStore.pm | 7 +++
2 files changed, 21 insertions(+), 6 deletions(-)
diff --git
This works with existing inotify/EVFILT_VNODE functionality to
propagate changes made from one Maildir to another Maildir.
I chose the lei/store worker process to handle this since
propagating changes back into lei-daemon on a massive scale
could lead to dead-locking while both processes are
At least the tests pass, and getting t/lei-export-kw.t to pass
after 3/3 was no small feat, but I believe everything is more
correct now (especially after the 10-patch series posted
yesterday-ish).
Patches 1 and 2 were developed while fixing 3/3, since the stuff
in t/lei-auto-watch.t happened to
For lei-index to work in parallel with MUA access and upcoming
inotify-based updates, mail_sync.sqlite3 needs to always be
up-to-date to read-only worker processes (ahead of everything
else). So rely on the default auto-commit behavior and hope
SQLite WAL can reduce some of the overheads involved
11 matches
Mail list logo