[Python] aiohttp what does timeout "ceil_threshold" do

Discussão em 'Python' iniciado por Stack, Maio 30, 2025.

  1. Stack

    Stack Membro Participativo

    What exactly does ceil_threshold in aiohttp's timeout parameters do, and when does it take effect? I tried setting it to a value smaller than connect and sock_read, but it didn’t seem to change anything.

    timeout = aiohttp.ClientTimeout(
    connect=10,
    sock_read=5,
    ceil_threshold=3 # Smaller than both, but no observable effect
    )


    Environment: aiohttp 3.9.5, Python 3.11

    Continue reading...

Compartilhe esta Página