Skip to content

fix(supabase): default to a 60 second request timeout with httpx and aiohttp - #2096

Merged
spydon merged 2 commits into
mainfrom
lukasklingsbo/sdk-1685-default-request-timeout
Nov 16, 2026
Merged

spydon merged 2 commits into
mainfrom
lukasklingsbo/sdk-1685-default-request-timeout

Conversation

@spydon

@spydon spydon commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

The clients that supabase.httpx and supabase.aiohttp create now time out after 60 seconds without progress, instead of 5 seconds with httpx and 300 seconds total with aiohttp.

  • A global or per-service request_timeout still overrides the default.
  • An http_client passed in keeps its own timeout.
  • Documented in the README and docstrings.

Fixes SDK-1685

@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 12 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 8 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 39598629-a4ad-470c-b3b2-b7219f594326
Commits

Reviewing files that changed from the base of the PR and between 5261272 and a9fd5d2.

Files selected for processing: 7

  • src/supabase/README.md
  • src/supabase/src/supabase/_defaults.py
  • src/supabase/src/supabase/aiohttp.py
  • src/supabase/src/supabase/client.py
  • src/supabase/src/supabase/httpx.py
  • src/supabase/tests/test_aiohttp.py
  • src/supabase/tests/test_httpx.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@spydon
spydon merged commit 6a57d1f into main Nov 16, 2026
21 checks passed
@spydon
spydon deleted the lukasklingsbo/sdk-1685-default-request-timeout branch November 16, 2026 17:26
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.

1 participant