Commit 7c198ea
committed
fix: Add warning when max_workers is used with AsyncClient
Addresses Copilot review comment: AsyncClient silently ignores max_workers
parameter. Now explicitly warns users that max_workers is not supported
for async clients since asyncio.gather() manages concurrency automatically.
The warning helps users understand why their max_workers setting isn't
having the expected effect when using AsyncClient.1 parent c2c3f3e commit 7c198ea
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
423 | | - | |
| 423 | + | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
427 | | - | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
428 | 434 | | |
429 | 435 | | |
430 | 436 | | |
| |||
0 commit comments