Show More
@@ -90,7 +90,7 b' class ServerBase(object):' | |||
|
90 | 90 | with open(self.log_file) as f: |
|
91 | 91 | return f.read() |
|
92 | 92 | |
|
93 |
def wait_until_ready(self, timeout= |
|
|
93 | def wait_until_ready(self, timeout=30): | |
|
94 | 94 | host = self._config['host'] |
|
95 | 95 | port = self._config['port'] |
|
96 | 96 | status_url = self.status_url_tmpl.format(host=host, port=port) |
@@ -131,7 +131,10 b' def rc_web_server(' | |||
|
131 | 131 | vcsserver_factory( |
|
132 | 132 | request, vcsserver_port=vcsserver_port, |
|
133 | 133 | log_file=vcs_log, |
|
134 | overrides=({'server:main': {'workers': 2}},)) | |
|
134 | overrides=( | |
|
135 | {'server:main': {'workers': 2}}, | |
|
136 | {'server:main': {'graceful_timeout': 10}}, | |
|
137 | )) | |
|
135 | 138 | |
|
136 | 139 | rc_log = os.path.join(tempfile.gettempdir(), 'rc_op_web.log') |
|
137 | 140 | rc_web_server_config = rc_web_server_config_factory( |
General Comments 0
You need to be logged in to leave comments.
Login now