diff options
author | Eric Wong <e@80x24.org> | 2023-10-04 08:50:58 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-10-04 17:46:54 +0000 |
commit | 8fe9ff206dfc868882d8382f9b718868e2660330 (patch) | |
tree | f00f1a2ecc859bd9383d2de8650e6fabf6b05922 /lib/PublicInbox/LEI.pm | |
parent | e5f0ac5298415c13f1afc79f2ac34ecdeab4da90 (diff) | |
download | public-inbox-8fe9ff206dfc868882d8382f9b718868e2660330.tar.gz |
This is more persistent than some of the others and we don't swap it on use (unlike $nextq or $ToClose). In other words, it's helpful for communicating its lifetime expectancy is close to %DescriptorMap and not like to queue-type things such as $ToClose.
Diffstat (limited to 'lib/PublicInbox/LEI.pm')
-rw-r--r-- | lib/PublicInbox/LEI.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm index 5f3147bf..e300f0a4 100644 --- a/lib/PublicInbox/LEI.pm +++ b/lib/PublicInbox/LEI.pm @@ -1302,7 +1302,7 @@ sub can_stay_alive { # PublicInbox::DS::post_loop_do cb } }; # returns true: continue, false: stop - $n + scalar(keys(%$PublicInbox::DS::AWAIT_PIDS)); + $n + scalar(keys(%PublicInbox::DS::AWAIT_PIDS)); } # lei(1) calls this when it can't connect |