def CherryPyWSGIServer(bind_addr,<EOL>wsgi_app,<EOL>numthreads = <NUM_LIT:10>,<EOL>server_name = None,<EOL>max = -<NUM_LIT:1>,<EOL>request_queue_size = <NUM_LIT:5>,<EOL>timeout = <NUM_LIT:10>,<EOL>shutdown_timeout = <NUM_LIT:5>):
max_threads = max<EOL>if max_threads < <NUM_LIT:0>:<EOL><INDENT>max_threads = <NUM_LIT:0><EOL><DEDENT>return Rocket(bind_addr, '<STR_LIT>', {'<STR_LIT>': wsgi_app},<EOL>min_threads = numthreads,<EOL>max_threads = max_threads,<EOL>queue_size = request_queue_size,<EOL>timeout = timeout)<EOL>
A Cherrypy wsgiserver-compatible wrapper.