zombocom / zombocom/rack-timeout
Dynamic service_timeout
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 922
- Forks
- 160
- PR merge metrics
- No merged PRs in 30d
Description
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:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by locating the existing service_timeout handling, then read related issues 197 and 190 to understand the requested cases; done should be defined as an agreed approach for accepting request-header-dependent timeout behavior and validating it with tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100