about summary refs log tree commit homepage
path: root/lib/PublicInbox/LEI.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/LEI.pm')
-rw-r--r--lib/PublicInbox/LEI.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm
index dce80762..c3645698 100644
--- a/lib/PublicInbox/LEI.pm
+++ b/lib/PublicInbox/LEI.pm
@@ -741,7 +741,9 @@ sub start_mua {
         } elsif ($self->{oneshot}) {
                 $self->{"mua.pid.$self.$$"} = spawn(\@cmd);
         }
-        delete $self->{-progress};
+        if ($self->{lxs} && $self->{au_done}) { # kick wait_startq
+                syswrite($self->{au_done}, 'q' x ($self->{lxs}->{jobs} // 0));
+        }
 }
 
 # caller needs to "-t $self->{1}" to check if tty