Skip to content

Commit df0fbbe

Browse files
committed
fix(lift): use Duration::from_mins(5) in OllamaProvider (clippy 1.96 duration_suboptimal_units)
1 parent ef36bc8 commit df0fbbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/rpg-lift/src/provider.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ impl OllamaProvider {
324324
agent: ureq::Agent::new_with_config(
325325
ureq::config::Config::builder()
326326
// local models can be slow on CPU; allow a generous timeout
327-
.timeout_global(Some(std::time::Duration::from_secs(300)))
327+
.timeout_global(Some(std::time::Duration::from_mins(5)))
328328
.build(),
329329
),
330330
}

0 commit comments

Comments
 (0)