lib/instana/tracing/processor.rb in instana-1.9.6 vs lib/instana/tracing/processor.rb in instana-1.9.7
- old
+ new
@@ -79,10 +79,10 @@
# - Max HTTP Post size
# - Out of control/growing queue
# - Prevent another run of the timer while this is running
#
def send
- return if @queue.empty? || ENV['INSTANA_GEM_TEST']
+ return if @queue.empty? || ENV.key?('INSTANA_TEST')
size = @queue.size
if size > 200
Instana.logger.debug "Trace queue is #{size}"
end