mirror of https://github.com/hashicorp/boundary
fix(controller): Use max request duration cluster listener (#4805)
The cluster listener supports a `max_request_duration` option, and defaults to 90 seconds. However, this configuration was not being use when processing grpc requests from the listener. This meant that requests from worker to controller could hang indefinitely and contributed to the recently fixed issue with database connections being stuck in `idle in transaction`. This commit adds a grpc interceptor that ensures each request has a deadline set to the max request duration for the listener. Refs:pull/4812/head29cd7bc9d6(cherry picked from commita2c529b9d1)
parent
0c0a373aa5
commit
1adf91f790
Loading…
Reference in new issue