projects
/
public-inbox.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b8a044
)
lei: add missing LeiWatch lazy-load
author
Eric Wong <e@80x24.org>
Tue, 24 Aug 2021 13:04:06 +0000 (13:04 +0000)
committer
Eric Wong <e@80x24.org>
Tue, 24 Aug 2021 20:11:38 +0000 (20:11 +0000)
I'm not sure if this class will actually be needed, but
we need to load it while we're using it.
lib/PublicInbox/LEI.pm
patch
|
blob
|
history
diff --git
a/lib/PublicInbox/LEI.pm
b/lib/PublicInbox/LEI.pm
index 4d5c61fe62bb6560c984900da0376416615c25b6..ea3ec0fec36ef7963b8aad218252d004b352bf9b 100644
(file)
--- a/
lib/PublicInbox/LEI.pm
+++ b/
lib/PublicInbox/LEI.pm
@@
-1423,6
+1423,7
@@
sub refresh_watches {
++$renames;
}
next if $watches->{$f}; # may be set to pause
+ require PublicInbox::LeiWatch;
$watches->{$f} = PublicInbox::LeiWatch->new($f);
$seen{$f} = undef;
add_maildir_watch($cd, $cfg_f);