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 3a1292ea See if can trace status hang
3a1292ea is described below

commit 3a1292eaa8e41bdfd862e47887c53884bde355e5
Author: Sebb <[email protected]>
AuthorDate: Sun Aug 25 14:39:19 2024 +0100

    See if can trace status hang
---
 www/status/monitors/git.rb | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/www/status/monitors/git.rb b/www/status/monitors/git.rb
index 47120893..dda44251 100644
--- a/www/status/monitors/git.rb
+++ b/www/status/monitors/git.rb
@@ -144,13 +144,14 @@ def show(name,value)
 end
 
 # for debugging purposes
-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
+# 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
 
 # test data
 __END__

Reply via email to