##// END OF EJS Templates
config: Sanitize 'vcs.connection_timeout' setting in pyramid app init.
Martin Bornhold -
r623:a0d3b51f default
parent child Browse files
Show More
@@ -445,6 +445,11 b' def _sanitize_vcs_settings(settings):'
445 445 _bool_setting(settings, 'vcs.server.enable', 'true')
446 446 _bool_setting(settings, 'vcs.start_server', 'false')
447 447 _list_setting(settings, 'vcs.backends', 'hg, git, svn')
448 _int_setting(settings, 'vcs.connection_timeout', 3600)
449
450
451 def _int_setting(settings, name, default):
452 settings[name] = int(settings.get(name, default))
448 453
449 454
450 455 def _bool_setting(settings, name, default):
General Comments 0
You need to be logged in to leave comments. Login now