MCPcopy Index your code
hub / github.com/pyload/pyload / run_threaded

Function run_threaded

module/web/webinterface.py:145–156  ·  view source on GitHub ↗
(host="0.0.0.0", port="8000", theads=3, cert="", key="")

Source from the content-addressed store, hash-verified

143
144
145def run_threaded(host="0.0.0.0", port="8000", theads=3, cert="", key=""):
146 from wsgiserver import CherryPyWSGIServer
147
148 if cert and key:
149 CherryPyWSGIServer.ssl_certificate = cert
150 CherryPyWSGIServer.ssl_private_key = key
151
152 CherryPyWSGIServer.numthreads = theads
153
154 from utils import CherryPyWSGI
155
156 run(app=web, host=host, port=port, server=CherryPyWSGI, quiet=True)
157
158
159def run_fcgi(host="0.0.0.0", port="8000"):

Callers

nothing calls this directly

Calls 1

runFunction · 0.90

Tested by

no test coverage detected