about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiQuery.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-08-11 11:26:18 +0000
committerEric Wong <e@80x24.org>2021-08-11 21:50:09 +0000
commit5634e8331cb8782944a258a12e1f9857dfb1c8e1 (patch)
treea93419e9ad7690e246928910cab6b39bb471a84a /lib/PublicInbox/LeiQuery.pm
parentd15e80db44399867d8ca53528e38f70f54562b88 (diff)
downloadpublic-inbox-5634e8331cb8782944a258a12e1f9857dfb1c8e1.tar.gz
As documented, File::Spec->canonpath does not canonicalize
"/../".  While we want to do our best to preserve symlinks in
pathnames, leaving "/../" can mislead our inotify|kqueue usage.
Diffstat (limited to 'lib/PublicInbox/LeiQuery.pm')
-rw-r--r--lib/PublicInbox/LeiQuery.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiQuery.pm b/lib/PublicInbox/LeiQuery.pm
index eb7b98d4..37b660f9 100644
--- a/lib/PublicInbox/LeiQuery.pm
+++ b/lib/PublicInbox/LeiQuery.pm
@@ -116,7 +116,7 @@ sub lei_q {
         my ($self, @argv) = @_;
         PublicInbox::Config->json; # preload before forking
         my $lxs = lxs_prepare($self) or return;
-        $self->ale->refresh_externals($lxs);
+        $self->ale->refresh_externals($lxs, $self);
         my $opt = $self->{opt};
         my %mset_opt = map { $_ => $opt->{$_} } qw(threads limit offset);
         $mset_opt{asc} = $opt->{'reverse'} ? 1 : 0;