mirror of
https://github.com/GNS3/gns3-server
synced 2025-01-12 09:00:57 +00:00
Set version dependency for PyZMQ. Fixes #5.
This commit is contained in:
parent
724e3051fd
commit
80d6b181dd
@ -142,9 +142,10 @@ class Server(object):
|
||||
debug=True) # FIXME: debug mode!
|
||||
|
||||
try:
|
||||
print("Starting server on {}:{} (Tornado {})".format(self._host,
|
||||
self._port,
|
||||
tornado.version))
|
||||
print("Starting server on {}:{} (Tornado v{}, PyZMQ v{})".format(self._host,
|
||||
self._port,
|
||||
tornado.version,
|
||||
zmq.__version__))
|
||||
kwargs = {"address": self._host}
|
||||
if parse_version(tornado.version) >= parse_version("3.1"):
|
||||
kwargs["max_buffer_size"] = 524288000 # 500 MB file upload limit
|
||||
|
Loading…
Reference in New Issue
Block a user