Set custom timeout for requests

Open
#71 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
tooling

Research direction

Start by tracing where outbound requests are created and whether the project already has retry or environment-variable configuration. Define the supported timeout setting, apply it to requests, and verify that slow servers no longer fail prematurely without requiring retries.

Written by the indexing model from the issue text.

Description

It would be nice to allow users to set custom timeout for requests.

In our test environment, we have problems because our servers are not reliable and this can lead to Timeout errors.

Retry of failed requests by Timeout error might fix the problem, but we do not need to retry if we increase the timeout, or maybe the server is under some load and all requests will be slower.

The idea is to create a way to set a custom timeout. If we follow the proposed way for retries of failed requests it should be an env variable.

Dominant language
Python
Stars
3
Forks
17
PR merge metrics
No merged PRs in 30d

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.

More from release-engineering/ubi-population-tool

All issues in release-engineering/ubi-population-tool

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.