Revert "Automatically restart the background thread when necessary"
This commit is contained in:
Родитель
d1d37f670a
Коммит
01179bdb56
|
@ -25,10 +25,6 @@ class TransportHTTPJSON
|
|||
@host = options[:collector_host]
|
||||
@port = options[:collector_port]
|
||||
@secure = (options[:collector_encryption] != 'none')
|
||||
|
||||
# Forking a worker process may kill the background thread; restart it as
|
||||
# necessary
|
||||
@thread = _start_network_thread unless @thread.alive?
|
||||
end
|
||||
|
||||
def flush_report(auth, report)
|
||||
|
|
Загрузка…
Ссылка в новой задаче