Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
amigin committed Nov 20, 2024
1 parent cce1abf commit 5d51e15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions my-grpc-client-macros/src/grpc_client/generate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ pub fn generate(

let overrides = FnOverride::new(&params_list)?;

let ping_timeout_sec:usize = params_list.get_named_param("ping_timeout_sec")?.try_into()?;
let ping_interval_sec:usize = params_list.get_named_param("ping_interval_sec")?.try_into()?;
let timeout_sec:usize = params_list.get_named_param("request_timeout_sec")?.try_into()?;
let ping_timeout_sec:u64 = params_list.get_named_param("ping_timeout_sec")?.try_into()?;
let ping_interval_sec:u64 = params_list.get_named_param("ping_interval_sec")?.try_into()?;
let timeout_sec:u64 = params_list.get_named_param("request_timeout_sec")?.try_into()?;
let retries:usize = params_list.get_named_param("retries")?.try_into()?;


Expand Down

0 comments on commit 5d51e15

Please sign in to comment.