mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-07 08:27:12 +00:00
Increase stream_read timeout from 30s to 120s
Prevents premature timeouts on slower streaming responses. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e64c0a3328
commit
b4f65e2555
1 changed files with 2 additions and 2 deletions
|
|
@ -642,7 +642,7 @@ impl Default for AdapterTimeout {
|
|||
Self {
|
||||
connect: 10.0,
|
||||
request: 120.0,
|
||||
stream_read: 30.0,
|
||||
stream_read: 120.0,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1130,7 +1130,7 @@ mod tests {
|
|||
let timeout = AdapterTimeout::default();
|
||||
assert!((timeout.connect - 10.0).abs() < f64::EPSILON);
|
||||
assert!((timeout.request - 120.0).abs() < f64::EPSILON);
|
||||
assert!((timeout.stream_read - 30.0).abs() < f64::EPSILON);
|
||||
assert!((timeout.stream_read - 120.0).abs() < f64::EPSILON);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue