mirror of
https://github.com/sjlongland/tornado-gallery.git
synced 2025-09-13 08:42:23 +10:00
server: Pass through process count from command line
This commit is contained in:
parent
03e74c2b0b
commit
e335062319
@ -280,7 +280,8 @@ def main(*args, **kwargs):
|
||||
static_path=args.static_path,
|
||||
site_name=args.site_name,
|
||||
site_uri=args.site_uri,
|
||||
template_path=args.template_path)
|
||||
template_path=args.template_path,
|
||||
num_proc=args.process_count)
|
||||
http_server = HTTPServer(application)
|
||||
http_server.listen(port=args.listen_port, address=args.listen_address)
|
||||
IOLoop.current().start()
|
||||
|
Loading…
Reference in New Issue
Block a user