zombocom / zombocom/rack-timeout

Dynamic service_timeout

Open
#213 2 comments 3 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.