Skip to content

Commit bac41e8

Browse files
committed
refactor: simplify QwenClient timeout configuration by removing unnecessary else branch
1 parent d77ca5d commit bac41e8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

crates/codegraph-mcp/src/qwen.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ impl QwenClient {
111111

112112
if let Some(timeout) = config.request_timeout {
113113
builder = builder.timeout(timeout);
114-
} else {
115-
builder = builder.timeout(None);
116114
}
117115

118116
let client = builder.build().expect("Failed to build Qwen HTTP client");

0 commit comments

Comments
 (0)