mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 12:11:09 +00:00
Do not spawn additional task for on-demand relays (#933)
* do not spawn additional task for on-demand relays * compilation
This commit is contained in:
committed by
Bastian Köcher
parent
0e34a11309
commit
38cd3a328d
@@ -197,6 +197,7 @@ fn run_sync_loop(state_function: impl Fn(&mut ClientsData) -> bool + Send + Sync
|
||||
data: clients_data.clone(),
|
||||
};
|
||||
let sync_params = FinalitySyncParams {
|
||||
is_on_demand_task: false,
|
||||
tick: Duration::from_secs(0),
|
||||
recent_finality_proofs_limit: 1024,
|
||||
stall_timeout: Duration::from_secs(1),
|
||||
|
||||
Reference in New Issue
Block a user