]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Import.pm
www: manifest.js.gz generation no longer hogs event loop
[public-inbox.git] / lib / PublicInbox / Import.pm
index 700b40262e36d6eae460d12639106b6c2529062c..ee5ca2ea11b4f383e514ecdf117ac1dabe2c14c1 100644 (file)
@@ -461,6 +461,9 @@ sub init_bare {
        }
 }
 
+# true if locked and active
+sub active { !!$_[0]->{out} }
+
 sub done {
        my ($self) = @_;
        my $w = delete $self->{out} or return;