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 5f42b4a Quieten code
5f42b4a is described below
commit 5f42b4a698d9d92a74ef59316daba6d3e954deab
Author: Sebb <[email protected]>
AuthorDate: Sat Jul 18 17:29:12 2020 +0100
Quieten code
---
tools/pubsub2rake.rb | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/pubsub2rake.rb b/tools/pubsub2rake.rb
index 54eb601..cec51f1 100755
--- a/tools/pubsub2rake.rb
+++ b/tools/pubsub2rake.rb
@@ -50,13 +50,13 @@ class PubSub
end
break if done
end # reading chunks
- puts "Done reading chunks"
+ puts "Done reading chunks" if debug
break if done
end # read response
- puts "Done reading response"
+ puts "Done reading response" if debug
break if done
end # net start
- puts "Done with start"
+ puts "Done with start" if debug
rescue Errno::ECONNREFUSED => e
@restartable = true
STDERR.puts e.inspect
@@ -65,7 +65,7 @@ class PubSub
STDERR.puts e.inspect
STDERR.puts e.backtrace
end
- puts "Done with thread"
+ puts "Done with thread" if debug
end # thread
puts("Pubsub thread started ...")
ps_thread.join