about summary refs log tree commit homepage
path: root/lib/PublicInbox/SearchIdxThread.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/SearchIdxThread.pm')
-rw-r--r--lib/PublicInbox/SearchIdxThread.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/SearchIdxThread.pm b/lib/PublicInbox/SearchIdxThread.pm
index 7df07a65..fd133d1d 100644
--- a/lib/PublicInbox/SearchIdxThread.pm
+++ b/lib/PublicInbox/SearchIdxThread.pm
@@ -41,6 +41,7 @@ sub new {
 
 sub thread_worker_loop {
         my ($self, $r) = @_;
+        $0 = 'pi-v2-threader';
         my $msg;
         my $xdb = $self->_xdb_acquire;
         $xdb->begin_transaction;