Skip to content

Usage with coroutines and wait_for #15

@QWu4xYV

Description

@QWu4xYV

Hi, thank you for this library; it's generally working well :)

I see that in multiple places the library broadly catches Exception rather than specific exceptions, which means that when TimeoutError is raised (for example when using asynchio.wait_for), it gets swallowed and therefore never exits. I noticed this while writing integration tests where I don't want to wait 30s for the test to fail when it cannot connect properly.

More broadly, is there a reason that threads are recommended instead of coroutines in the documentation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions