Project

Profile

Help

Story #1915

closed

expose connect_timeout and read_timeout via configuration

Added by Anonymous almost 8 years ago. Updated over 3 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Target Release - Nectar:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

My pulp installation was having issues completing synchronization of certain external repos due to timeouts. Following discussions on this thread[0], I found that I was able to resolve this timeout by increasing the values found in /usr/lib/python2.6/site-packages/nectar/config.py:22.

I'm hoping that these timeout values can be made available from a configuration file.

My patch diff (rpm python-nectar-1.5.1-1.el6.noarch):

22c22
<             connect_timeout=9.05, read_timeout=57, working_dir="/tmp"):
---
>             connect_timeout=6.05, read_timeout=27, working_dir="/tmp"):

[0] https://groups.google.com/forum/#!topic/foreman-users/J8xvzGHbz9w


Files

Also available in: Atom PDF