feat(transport): Support timeouts with "grpc-timeout" header (#606)
* transport: Support timeouts with "grpc-timeout" header * Apply suggestions from code review Co-authored-by: Lucio Franco <[email protected]> * Timeout -> GrpcTimeout and export TimeoutExpired * Clean up imports * Give header name a more proper home * Add fuzz tests for parsing header value into `grpc-timeout` * Map `TimeoutExpired` to `cancelled` status * Recover from timeout errors in the service * Refactor tests * Fix CI * Fix CI, again Co-authored-by: Lucio Franco <[email protected]>
This commit is contained in:
co-authored by
Lucio Franco
parent
4926c60df4
commit
9ff4f7b8e4
@@ -49,6 +49,8 @@ jobs:
|
||||
|
||||
env:
|
||||
RUSTFLAGS: "-D warnings"
|
||||
# run a lot of quickcheck iterations
|
||||
QUICKCHECK_TESTS: 1000
|
||||
|
||||
steps:
|
||||
- uses: hecrj/setup-rust-action@master
|
||||
|
||||
Reference in New Issue
Block a user