Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
More wrapping
  • Loading branch information
gavofyork committed Jul 12, 2018
commit 06e3929aa6980c1b609c80c8ebabe80e1a3d7b4a
4 changes: 3 additions & 1 deletion substrate/telemetry/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ pub fn init_telemetry(config: TelemetryConfig) -> slog_scope::GlobalLoggerGuard
first_time: true, // ensures that on_connect will be called.
}
).fuse()
).chan_size(CHANNEL_SIZE).overflow_strategy(slog_async::OverflowStrategy::DropAndReport).build().fuse(), o!()
).chan_size(CHANNEL_SIZE)
.overflow_strategy(slog_async::OverflowStrategy::DropAndReport)
.build().fuse(), o!()
);
slog_scope::set_global_logger(log)
}
Expand Down