Skip to content

Expose timeout option on Server SDK clients? #548

@bryfox

Description

@bryfox

Describe the problem

In the server SDKs, I would like to be able to provide a timeout to the client request methods so that I can easily abort requests (and also have some idea of the time bound on them).

Describe the proposed solution

I'm specifically looking at RoomServiceClient. I see the underlying RPC client request() accepts a timeout, but as far as I see, it's never supplied and doesn't have a default value.

I don't need fine-grained control; a "timeout" option on the Client constructor which applied to all its requests would probably suffice.

Alternatives considered

Does LiveKit Cloud document request timeouts from the server?

Importance

nice to have

Additional Information

No response

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