mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 19:51:02 +00:00
Cli option for greedy relayer + run no-losses relayer by default (#1042)
* cli option for greedy relayer + run no-losses relayer by default * trigger build * Revert "trigger build" This reverts commit f77ae3a634b909bb4dc915941a4c1011a86019f0. * NoLosses -> Rational
This commit is contained in:
committed by
Bastian Köcher
parent
754e5ad8c7
commit
a428420866
@@ -178,11 +178,13 @@ pub async fn run(
|
||||
Wococo relayer account id: {:?}\n\t\
|
||||
Max messages in single transaction: {}\n\t\
|
||||
Max messages size in single transaction: {}\n\t\
|
||||
Max messages weight in single transaction: {}",
|
||||
Max messages weight in single transaction: {}\n\t\
|
||||
Relayer mode: {:?}",
|
||||
lane.relayer_id_at_source,
|
||||
max_messages_in_single_batch,
|
||||
max_messages_size_in_single_batch,
|
||||
max_messages_weight_in_single_batch,
|
||||
params.relayer_mode,
|
||||
);
|
||||
|
||||
let (metrics_params, metrics_values) = add_standalone_metrics(
|
||||
@@ -205,7 +207,7 @@ pub async fn run(
|
||||
max_messages_in_single_batch,
|
||||
max_messages_weight_in_single_batch,
|
||||
max_messages_size_in_single_batch,
|
||||
relayer_mode: messages_relay::message_lane_loop::RelayerMode::Altruistic,
|
||||
relayer_mode: params.relayer_mode,
|
||||
},
|
||||
},
|
||||
WococoSourceClient::new(
|
||||
|
||||
Reference in New Issue
Block a user