X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2FPublicInbox%2FNNTPD.pm;h=451f4d4183bf52875e5f3e800f269c331ccffa14;hb=31ec75b69e02df6330bc16dd2bd48d354726f4c1;hp=925691bc52f4dd62d201fffc4404963675db2e26;hpb=55b707d788ce13696e4411389583e720ea6dab01;p=public-inbox.git
diff --git a/lib/PublicInbox/NNTPD.pm b/lib/PublicInbox/NNTPD.pm
index 925691bc..451f4d41 100644
--- a/lib/PublicInbox/NNTPD.pm
+++ b/lib/PublicInbox/NNTPD.pm
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2019 all contributors
+# Copyright (C) 2016-2020 all contributors
# License: AGPL-3.0+
# represents an NNTPD (currently a singleton),
@@ -45,6 +45,10 @@ sub refresh_groups () {
# Only valid if msgmap and search works
$new->{$ngname} = $ng;
push @list, $ng;
+
+ # preload to avoid fragmentation:
+ $ng->description;
+ $ng->base_url;
}
});
@list = sort { $a->{newsgroup} cmp $b->{newsgroup} } @list;