whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] 02/02: Revert "WHIMSY-278 Add some debug: why cache not working"
Date Wed, 17 Jul 2019 23:41:40 GMT
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

commit 04f1d55743823d731b16c916f3c96e559ba9c7cd
Author: Sebb <sebb@apache.org>
AuthorDate: Thu Jul 18 00:41:04 2019 +0100

    Revert "WHIMSY-278 Add some debug: why cache not working"
    
    This reverts commit d4b572d7db1f64acfbfdd9bf5d475d5632c5f9e1.
---
 lib/whimsy/asf/member.rb | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/lib/whimsy/asf/member.rb b/lib/whimsy/asf/member.rb
index c12c173..fc7af88 100644
--- a/lib/whimsy/asf/member.rb
+++ b/lib/whimsy/asf/member.rb
@@ -148,12 +148,9 @@ module ASF
       member_file = File.join(foundation, 'members.txt')
       member_time = File.mtime(member_file)
       if member_time.to_i > @@mtime.to_i
-        Wunderbar.warn "Reading #{member_file} #{member_time.to_i} > #{@@mtime.to_i}"
         @@mtime = member_time
         text = File.read(member_file)
         @@text = WeakRef.new(text)
-      else
-        Wunderbar.warn "Using #{member_file} cache @@mtime=#{@@mtime.to_i}"
       end
 
       text
@@ -169,7 +166,6 @@ module ASF
 
       # save
       @@mtime = Time.now
-      Wunderbar.warn "Caching ASF::Member.text @@mtime=#{@@mtime.to_i}"
       @@text = WeakRef.new(text)
     end
   end


Mime
View raw message