For our rails app, we would like to be able to have a dynamic service_timeout based on the headers of the request. So I would love to be able to provide a lambda for service_timeout, something like:
service_timeout: -> (env) { custom_logic }
Is this something you would be interested in including? I'm happy to make a PR, I just wanted to check before I put in the work to write the code.
This could be a solution to both of these other issues as well:
For our rails app, we would like to be able to have a dynamic
service_timeoutbased on the headers of the request. So I would love to be able to provide a lambda forservice_timeout, something like:Is this something you would be interested in including? I'm happy to make a PR, I just wanted to check before I put in the work to write the code.
This could be a solution to both of these other issues as well: