Skip to content

Fix default timeout from 90ms to 90s for all adapters#21

Merged
abnegate merged 2 commits intomainfrom
copilot/update-default-timeout-adapters
Feb 12, 2026
Merged

Fix default timeout from 90ms to 90s for all adapters#21
abnegate merged 2 commits intomainfrom
copilot/update-default-timeout-adapters

Conversation

Copy link
Contributor

Copilot AI commented Feb 12, 2026

utopia-php/fetch Client's setTimeout() expects milliseconds. All adapters were passing 90, resulting in a 90ms timeout instead of the intended 90 seconds.

  • Changed default $timeout from 90 to 90000 in base Adapter class and all 7 adapter constructors (OpenAI, Anthropic, Gemini, Deepseek, Ollama, XAI, Perplexity)
  • Fixed doc comments on Adapter to correctly state the unit is milliseconds

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/composer/package-versions-deprecated/zipball/b4f54f74ef3453349c24a845d22392cd31e65f1d
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/czCnR4 /usr/bin/composer install (http block)
  • https://api.github.com/repos/doctrine/deprecations/zipball/459c2f5dd3d6a4633d3b5f46ee2b1c40f57d3f38
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/czCnR4 /usr/bin/composer install (http block)
  • https://api.github.com/repos/laravel/pint/zipball/e60e2112ee779ce60f253695b273d1646a17d6f1
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/czCnR4 /usr/bin/composer install (http block)
  • https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/czCnR4 /usr/bin/composer install (http block)
  • https://api.github.com/repos/phpstan/phpdoc-parser/zipball/1e0cd5370df5dd2e556a36b9c62f62e555870495
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/czCnR4 /usr/bin/composer install (http block)
  • https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/czCnR4 /usr/bin/composer install (http block)
  • https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/czCnR4 /usr/bin/composer install (http block)
  • https://api.github.com/repos/webmozarts/assert/zipball/9be6926d8b485f55b9229203f962b51ed377ba68
    • Triggering command: /usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/czCnR4 /usr/bin/composer install (http block)

If you need me to access, download, or install something from one of these locations, you can either:


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…ters

Co-authored-by: abnegate <5857008+abnegate@users.noreply.github.com>
Copilot AI changed the title [WIP] Update default timeout from 90ms to 90 seconds for all adapters Fix default timeout from 90ms to 90s for all adapters Feb 12, 2026
Copilot AI requested a review from abnegate February 12, 2026 07:14
@abnegate abnegate marked this pull request as ready for review February 12, 2026 07:30
@abnegate abnegate merged commit c22aa7a into main Feb 12, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants