Skip to content

Migrate to context.WithTimeoutCause #312

@Wondertan

Description

@Wondertan

Everywhere we use context.WithTimeout which always returns context deadline exceeded as an error, which is not informative. The context.WithTimeoutCause, on the other hand, allows users to pass the exact error cause. This way, one can always find which timeout was triggered.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions