Fix telemetry (and a minor cleanup) (#1384)

This commit is contained in:
Gav Wood
2019-01-10 15:47:12 +01:00
committed by GitHub
parent 42c30609d3
commit a13fda2e83
5 changed files with 45 additions and 33 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ pub fn init_telemetry(config: TelemetryConfig) -> slog_scope::GlobalLoggerGuard
thread::spawn(move || {
loop {
trace!(target: "telemetry", "Connecting to Telemetry...");
trace!(target: "telemetry", "Connecting to Telemetry... {:?}", config.url);
let _ = ws::connect(config.url.as_str(), |out| Connection::new(out, &*out_sync, &config));
thread::sleep(time::Duration::from_millis(5000));