Make K_TIMEOUT configurable and rename
@jsocol is already working on this.
Since May 23, 2012.
- Dominant language
- Python
- Stars
- 23
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
Let's make K_TIMEOUT configurable via an environment variable, so that this stays generically useful but django can still set it.
TIMEOUT = os.env.get('SPHINX_TIMEOUT', 1)
Then Django can put, in settings:
os.env['SPHINX_TIMEOUT', 5)
That should work, if I understand the order of the imports. Will double test and implement.
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
The payload names no files or tests. Start by locating K_TIMEOUT and its uses, then inspect how configuration and imports work; clarify whether it should be renamed to TIMEOUT and verify the environment-variable behavior intended for Django. Done means the timeout is configurable without breaking the generic client.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- search
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100