diff options
author | Eric Wong <e@80x24.org> | 2023-09-08 10:51:15 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-09-08 20:43:18 +0000 |
commit | 8651b0487c4f2353e79d9088cd26d559bbe51948 (patch) | |
tree | 8d53b45ccae7a64cdc0a0d07475e30557f1d0e66 /script | |
parent | 530db44a85fc48c63b7f97a056f384946753b7ed (diff) | |
download | public-inbox-8651b0487c4f2353e79d9088cd26d559bbe51948.tar.gz |
Child processes handling IMAP/NNTP aren't going to want to handle config reloads nor forced rescans, those are exclusively for the parent. We'll leave a note that QUIT/TERM/INT can safely use the same callback for both parent and children, as I nearly made the mistake of resetting those to their default values in the child.
Diffstat (limited to 'script')
-rwxr-xr-x | script/public-inbox-watch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/public-inbox-watch b/script/public-inbox-watch index 870cd31b..d9215de9 100755 --- a/script/public-inbox-watch +++ b/script/public-inbox-watch @@ -41,7 +41,7 @@ if ($watch) { warn "# scanning\n"; $watch->trigger_scan('full'); }; - my $quit = sub { + my $quit = sub { # may be called in IMAP/NNTP children $watch->quit if $watch; $watch = undef; $0 .= ' quitting'; |