From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 8E7F61F59D for ; Wed, 3 Aug 2022 20:03:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1659557037; bh=NQO99p+GCfd8FLIf5k0EpoSFx+c9RVpTgp6YuvNsFE4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=EFVv/wrSqwbW13AF6SomH438sGunbdp+FiCP7oGM6PydesIiaTIaNxyT/T98b6sjb IQRTGnVcOSZzJnZlbxjMCNhUdzm3Ve2x0SJoUat2CsKrhiVKAZQ6tEHoe+dGILTSzo Uae9Bb6NceD0D9aOckRobpf1pzcDo/D5aonMuJtg= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/4] nntpd: do not delete newsgroup name from inbox object Date: Wed, 3 Aug 2022 20:03:54 +0000 Message-Id: <20220803200357.1322670-2-e@80x24.org> In-Reply-To: <20220803200357.1322670-1-e@80x24.org> References: <20220803200357.1322670-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: While PublicInbox::NNTP doesn't use it, config sharing inside public-inbox-netd will mean inbox objects also get shared. --- lib/PublicInbox/NNTPD.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/PublicInbox/NNTPD.pm b/lib/PublicInbox/NNTPD.pm index 15a72bac..4f550bb0 100644 --- a/lib/PublicInbox/NNTPD.pm +++ b/lib/PublicInbox/NNTPD.pm @@ -48,7 +48,6 @@ sub refresh_groups { $ibx->base_url; } else { delete $groups->{$ngname}; - delete $ibx->{newsgroup}; # Note: don't be tempted to delete more for memory # savings just yet: NNTP, IMAP, and WWW may all # run in the same process someday.