Commit 93bb8605 authored by Alexandre Franke's avatar Alexandre Franke

api: pass ms for sync timeout param

parent f17c87b8
Pipeline #86931 passed with stages
in 39 minutes and 42 seconds
......@@ -77,7 +77,7 @@ pub fn sync(bk: &Backend, new_since: Option<String>, initial: bool) -> Result<()
};
let timeout = time::Duration::from_secs(30);
params.push(("timeout", timeout.as_secs().to_string()));
params.push(("timeout", timeout.as_millis().to_string()));
let baseu = bk.get_base_url();
let url = bk.url("sync", params)?;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment