Unverified Commit 360a7f31 authored by David's avatar David Committed by GitHub
Browse files

Timeouts for all requests (#406)



* [clients]: use request timeout by-default

* add timeout for notif

* more feature flag mess

* rexport tokio types

* Update ws-client/src/client.rs

Co-authored-by: default avatarMaciej Hirsz <[email protected]>

* Impose a timeout on all requests

Variant of #367

This PR takes a more opinionated stance than #367, where timeouts are optional. In this PR I suggest we make a all requests use a timeout and only let users choose the length.

* fmt

* Address review grumbles

* fmt

* Use tokio::select! for cleaner code

Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
Co-authored-by: default avatarMaciej Hirsz <[email protected]>
Co-authored-by: default avatarMaciej Hirsz <[email protected]>
parent ddb50806
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment