Skip to content

Commit 7acc51a

Browse files
committed
increase timeout
Signed-off-by: Kenneth Reitz <[email protected]>
1 parent f54484f commit 7acc51a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pipenv/cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def check_for_updates():
141141
def ensure_latest_self(user=False):
142142
"""Updates Pipenv to latest version, cleverly."""
143143
try:
144-
r = requests.get('https://pypi.python.org/pypi/pipenv/json', timeout=0.5)
144+
r = requests.get('https://pypi.python.org/pypi/pipenv/json', timeout=2)
145145
except requests.RequestException as e:
146146
click.echo(crayons.red(e))
147147
sys.exit(1)

0 commit comments

Comments
 (0)