Skip to content

fix(client): extend session-key relayer timeout - #283

Open
kartojal wants to merge 1 commit into
mainfrom
fix/session-key-relayer-timeout
Open

fix(client): extend session-key relayer timeout#283
kartojal wants to merge 1 commit into
mainfrom
fix/session-key-relayer-timeout

Conversation

@kartojal

@kartojal kartojal commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Extends the relayer read timeout to five minutes for sync and async session-key authorization and revocation submissions. Transaction and registry polling timeouts remain unchanged.

Tests: uv run pytest tests/unit/test_session_key_authorization.py


Note

Low Risk
Scoped timeout override for session-key relayer POSTs only; no auth or signing logic changes.

Overview
Session-key authorize and revoke submissions can block on the relayer while it validates, simulates, persists, and broadcasts, so the default 10s HTTP read timeout was too short.

This PR passes a dedicated httpx.Timeout (300s read) into post_json for both async and sync _post_session_key_operation helpers. Connect, write, and pool limits stay modest; transaction and registry polling still use existing relayer poll settings.

Reviewed by Cursor Bugbot for commit d4726ff. Bugbot is set up for automated code reviews on this repo. Configure here.

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