This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 9fa2af8  Preload makes no difference here
9fa2af8 is described below

commit 9fa2af871d809813037618a66ec9748b93f11913
Author: Sebb <[email protected]>
AuthorDate: Thu Feb 10 15:44:30 2022 +0000

    Preload makes no difference here
---
 www/members/watch.cgi | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/www/members/watch.cgi b/www/members/watch.cgi
index d9c0a80..2dae2eb 100755
--- a/www/members/watch.cgi
+++ b/www/members/watch.cgi
@@ -35,7 +35,7 @@ _html do
       meeting =
         File.dirname(Dir[File.join(meetings, '*', 
'nominated-members.txt')].max)
 
-      nominations = ASF::MemberFiles.member_nominees.map {|k,v| k}
+      nominations = ASF::MemberFiles.member_nominees.map {|k, _v| k}
 
       # determine which list to report on, based on the URI
       request = ENV['REQUEST_URI']
@@ -127,12 +127,6 @@ _html do
         list = watch_list
       end
 
-      # for efficiency, preload public_names, member status, and
-      # nominees
-      ASF::Person.preload('cn', list)
-      ASF::Member.status
-      ASF::Person.member_nominees
-
       _table.table do
 
         _thead_ do

Reply via email to