diff options
author | Eric Wong <e@80x24.org> | 2020-11-07 10:56:59 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-11-08 10:18:22 +0000 |
commit | 3ba7c9fa4a083c439e768882c571c2026a981ca5 (patch) | |
tree | 738620e8ce06c5461c0983625138b3396b4300fc /script | |
parent | 5ed2573594258bd53c9ae8e1c1c517a0c8ba191f (diff) | |
download | public-inbox-3ba7c9fa4a083c439e768882c571c2026a981ca5.tar.gz |
Matching the behavior of git-fast-import(1), we'll allow a user to send SIGUSR1 to checkpoint over.sqlite3 and Xapian.
Diffstat (limited to 'script')
-rw-r--r-- | script/public-inbox-extindex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/public-inbox-extindex b/script/public-inbox-extindex index bb1e174a..864a2732 100644 --- a/script/public-inbox-extindex +++ b/script/public-inbox-extindex @@ -33,6 +33,7 @@ die "--jobs must be >= 0\n" if defined $opt->{jobs} && $opt->{jobs} < 0; # require lazily to speed up --help my $eidx_dir = shift(@ARGV) // die "E: $help"; +local $SIG{USR1} = 'IGNORE'; # to be overridden in eidx_sync require PublicInbox::Admin; my $cfg = PublicInbox::Config->new; my @ibxs = PublicInbox::Admin::resolve_inboxes(\@ARGV, $opt, $cfg); |