lib/splitclient-rb/cache/senders/metrics_sender.rb in splitclient-rb-4.2.2 vs lib/splitclient-rb/cache/senders/metrics_sender.rb in splitclient-rb-4.3.0.canary.1
- old
+ new
@@ -21,10 +21,10 @@
end
private
def metrics_thread
- Thread.new do
+ @config.threads[:metrics_sender] = Thread.new do
@config.logger.info('Starting metrics service')
loop do
post_metrics