mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-23 06:41:34 +00:00
*: Derive Debug
and Clone
(#2495)
Co-authored-by: Max Inden <mail@max-inden.de>
This commit is contained in:
@ -40,6 +40,7 @@ const DEFAULT_MAX_TOPICS: usize = 300;
|
||||
// store metrics.
|
||||
const DEFAULT_MAX_NEVER_SUBSCRIBED_TOPICS: usize = 50;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Config {
|
||||
/// This provides an upper bound to the number of mesh topics we create metrics for. It
|
||||
/// prevents unbounded labels being created in the metrics.
|
||||
|
Reference in New Issue
Block a user