diff options
author | Eric Wong <e@80x24.org> | 2020-12-24 10:09:18 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-12-25 08:56:48 +0000 |
commit | b3cf37096874c6c80ef554e5153e5d995c72ab95 (patch) | |
tree | 63da5bddf6ac34f459ff65e907daec598d940d94 /lib/PublicInbox/V2Writable.pm | |
parent | d6d3159d1ae25f67c09dd189e6df36795a3b8bfa (diff) | |
download | public-inbox-b3cf37096874c6c80ef554e5153e5d995c72ab95.tar.gz |
This simplifies all ->with_umask callers and opens the door for further optimizations to delay/elide process spawning.
Diffstat (limited to 'lib/PublicInbox/V2Writable.pm')
-rw-r--r-- | lib/PublicInbox/V2Writable.pm | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/PublicInbox/V2Writable.pm b/lib/PublicInbox/V2Writable.pm index 3e3b275f..531a72b2 100644 --- a/lib/PublicInbox/V2Writable.pm +++ b/lib/PublicInbox/V2Writable.pm @@ -97,8 +97,6 @@ sub new { die "$dir does not exist\n"; } } - $v2ibx->umask_prepare; - my $xpfx = "$dir/xap" . PublicInbox::Search::SCHEMA_VERSION; my $self = { ibx => $v2ibx, @@ -320,7 +318,6 @@ sub idx_init { $ibx->git->cleanup; parallel_init($self, $ibx->{indexlevel}); - $ibx->umask_prepare; $ibx->with_umask(\&_idx_init, $self, $opt); } |