lib/backend.rb in firetail-0.0.1.pre.alpha vs lib/backend.rb in firetail-1.0.1
- old
+ new
@@ -21,12 +21,9 @@
})
req.body = payload
# Create new thread
Thread.new {
- Thread.current.report_on_exception = false
- # Wait for thread completion of thread is not the current thread
- Thread.list.each{ |t| t.join unless t == Thread.current }
# Send the request
request = http.request(req)
}
#Firetail.logger.debug "response from firetail: #{res}"
rescue StandardError => e