Skip to content

Commit bfc71df

Browse files
Reflexcursoragent
andcommitted
fix: isolate waits and file transfers on sharded H2 pools
Drop the httpcore monkeypatch. Route long-polls (/wait_for_status) and upload/download onto separate shared H2 bulkhead pools with configurable shards (default 2), hashed by resource id, so control-plane RPCs keep their own connection without HTTP/1.1 explosion. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 7fc11ba commit bfc71df

10 files changed

Lines changed: 376 additions & 403 deletions

File tree

src/runloop_api_client/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,8 @@
2828
APIResponseValidationError,
2929
)
3030
from ._base_client import DefaultHttpxClient, DefaultAioHttpClient, DefaultAsyncHttpxClient
31-
from ._http2_pool_fix import install as _install_http2_pool_fix
3231
from ._utils._logs import setup_logging as _setup_logging
3332

34-
# Open additional HTTP/2 connections when a connection's stream slots are full
35-
# instead of blocking on httpcore's per-connection stream semaphore.
36-
_install_http2_pool_fix()
37-
3833
__all__ = [
3934
"types",
4035
"__version__",

0 commit comments

Comments
 (0)