Skip to content

Add receive timeout #327

@mostafa

Description

@mostafa

While I was adding benchmarks to the Client.Receive function, I found out that the function blocks forever, hence blocking the benchmark. This was also the case while testing GatewayD manually for long-running queries. So, I believe adding a timeout will stop the receive function from blocking the event loop, thus hanging the entire process and the message flow.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

🎉 Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions