X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=lib%2FPublicInbox%2FInbox.pm;h=1579d500136a8f814f532275f486bc117c3e0441;hp=b7b71268187e86ce8f6f583e5391d645da8fb7f5;hb=8d2513221e73649aed85ce8c3f37f7025ec1fec9;hpb=b46de4da83d797281af9603f350e5b7105845eed diff --git a/lib/PublicInbox/Inbox.pm b/lib/PublicInbox/Inbox.pm index b7b71268..1579d500 100644 --- a/lib/PublicInbox/Inbox.pm +++ b/lib/PublicInbox/Inbox.pm @@ -48,7 +48,7 @@ sub _cleanup_later ($) { sub _set_limiter ($$$) { my ($self, $pi_cfg, $pfx) = @_; my $lkey = "-${pfx}_limiter"; - $self->{$lkey} ||= do { + $self->{$lkey} //= do { # full key is: publicinbox.$NAME.httpbackendmax my $mkey = $pfx.'max'; my $val = $self->{$mkey} or return;