Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kedifa
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Łukasz Nowak
kedifa
Commits
f7be98f4
Commit
f7be98f4
authored
5 years ago
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kedifa/updater: Timeout if no response in 10 seconds
parent
70cb0742
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
kedifa/updater.py
kedifa/updater.py
+2
-1
No files found.
kedifa/updater.py
View file @
f7be98f4
...
...
@@ -50,7 +50,8 @@ class Updater(object):
certificate
=
''
try
:
response
=
requests
.
get
(
url
,
verify
=
self
.
server_ca_certificate_file
,
cert
=
self
.
identity_file
)
url
,
verify
=
self
.
server_ca_certificate_file
,
cert
=
self
.
identity_file
,
timeout
=
10
)
except
Exception
as
e
:
print
'Certificate %r: problem with %r not downloaded: %s'
%
(
certificate_file
,
url
,
e
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment