diff options
author | Eric Wong <e@80x24.org> | 2023-09-04 10:36:04 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-09-05 03:01:40 +0000 |
commit | 0c32084032cc54c501234cf37b3289628e98a645 (patch) | |
tree | 3abeb8f9ad65bd0ce98aee332659e204e672e872 /lib/PublicInbox/IPC.pm | |
parent | 078ad3d512f5b07ef491adae284350f79f4ae656 (diff) | |
download | public-inbox-0c32084032cc54c501234cf37b3289628e98a645.tar.gz |
Being able to tune worker process counts on-the-fly when xap_helper gets used with -{netd,httpd,imapd} will be useful for tuning new setups.
Diffstat (limited to 'lib/PublicInbox/IPC.pm')
-rw-r--r-- | lib/PublicInbox/IPC.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/IPC.pm b/lib/PublicInbox/IPC.pm index 766c377f..528b9133 100644 --- a/lib/PublicInbox/IPC.pm +++ b/lib/PublicInbox/IPC.pm @@ -42,7 +42,7 @@ if ($enc && $dec) { # should be custom ops *ipc_thaw = \&Storable::thaw; } -my $recv_cmd = PublicInbox::Spawn->can('recv_cmd4'); +our $recv_cmd = PublicInbox::Spawn->can('recv_cmd4'); our $send_cmd = PublicInbox::Spawn->can('send_cmd4') // do { require PublicInbox::CmdIPC4; $recv_cmd //= PublicInbox::CmdIPC4->can('recv_cmd4'); |