mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-18 16:46:07 +00:00
Update Substrate/Polkadot/Cumulus references (#1364)
cumulus: b468d0c33e
polkadot: 827792ca833396c82c726eda0bc2ad32ecddba73
substrate: 666f39b8a22108f57732215de006518738034ba2
bump serde_json to 1.0.79
sync changes from https://github.com/paritytech/substrate/pull/11022
fixed clippy warnings
Signed-off-by: acatangiu <adrian@parity.io>
This commit is contained in:
1 parent
d04b018630
commit
14b27a0209
10 files changed
+18
-13
No files matched your search
@@ -105,6 +105,7 @@ impl MetricsParams {
|
||||
}
|
||||
|
||||
/// Do not expose metrics.
|
||||
#[must_use]
|
||||
pub fn disable(mut self) -> Self {
|
||||
self.address = None;
|
||||
self
|
||||
|
||||
@@ -85,6 +85,7 @@ pub struct LoopMetrics<SC, TC, LM> {
|
||||
|
||||
impl<SC, TC, LM> Loop<SC, TC, LM> {
|
||||
/// Customize delay between reconnect attempts.
|
||||
#[must_use]
|
||||
pub fn reconnect_delay(mut self, reconnect_delay: Duration) -> Self {
|
||||
self.reconnect_delay = reconnect_delay;
|
||||
self
|
||||
|
||||
Reference in new issue
Block a user