]> Sergey Matveev's repositories - public-inbox.git/commit
net_reader: load IO::Socket::Socks in all workers
authorEric Wong <e@80x24.org>
Thu, 16 Sep 2021 09:41:16 +0000 (09:41 +0000)
committerEric Wong <e@80x24.org>
Thu, 16 Sep 2021 20:09:40 +0000 (20:09 +0000)
commit7bef60341629a3fee09b30cd3dd2696550dad674
treef2a1bf14e7dde627f6eeb4687e8a2f7c0789a075
parentb833e4095c6dab8d81bbcdedaddafa4b6a2a235c
net_reader: load IO::Socket::Socks in all workers

This was previously undetected since SOCKS is mainly used for
read-only (single worker) tasks, and worker[0] always loaded
the module.  However, "lei refresh-mail-sync" can bounce reads
to any worker, so we need to ensure worker[1..Inf] load it, too.
lib/PublicInbox/NetReader.pm