lib/ddtrace/workers.rb in ddtrace-0.7.2 vs lib/ddtrace/workers.rb in ddtrace-0.8.0
- old
+ new
@@ -96,11 +96,10 @@
# because uses the +TraceBuffer+ data structure.
def enqueue_trace(trace)
@trace_buffer.push(trace)
end
- # Enqueue an item in the service internal buffer. This operation is thread-safe
- # because uses the +TraceBuffer+ data structure.
+ # Enqueue an item in the service internal buffer. This operation is thread-safe.
def enqueue_service(service)
return if service == {} # no use to send this, not worth it
@service_buffer.push(service)
end
end