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 e5de4c36 Revert "See if can trace status hang"
e5de4c36 is described below

commit e5de4c3630a77e96afbc924525fc01f5d2d5aca6
Author: Sebb <[email protected]>
AuthorDate: Sun Aug 25 14:51:34 2024 +0100

    Revert "See if can trace status hang"
    
    This reverts commit 3a1292eaa8e41bdfd862e47887c53884bde355e5.
---
 www/status/monitors/git.rb | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/www/status/monitors/git.rb b/www/status/monitors/git.rb
index dda44251..47120893 100644
--- a/www/status/monitors/git.rb
+++ b/www/status/monitors/git.rb
@@ -144,14 +144,13 @@ def show(name,value)
 end
 
 # for debugging purposes
-# Temporarily disable; seems to cause hang TODO FIX
-# if __FILE__ == $0
-#   response = Monitor.git(nil) # must agree with method name above
-#   data = response[:data]
-#   data.each do |k,v|
-#     puts "#{k} #{data[k][:level]} #{data[k][:title] or data[k][:data] }"
-#   end
-# end
+if __FILE__ == $0
+  response = Monitor.git(nil) # must agree with method name above
+  data = response[:data]
+  data.each do |k,v|
+    puts "#{k} #{data[k][:level]} #{data[k][:title] or data[k][:data] }"
+  end
+end
 
 # test data
 __END__

Reply via email to