Skip to content

time.Sleep() after CancelRequest #2478

@silkadenupp

Description

@silkadenupp

Hi, I want to use CancelRequestContextWatcherHandler to cancel requests after a context timeout on a request, and I see here time.Sleep, which in fact holds the connection for 100ms just like that. Is there, in theory, some kind of synchronization option?

time.Sleep(100 * time.Millisecond)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions