mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
tornado: set max_clients to 20
we'd better find out a way to specify this in the config file though.
This commit is contained in:
parent
00f7dccb39
commit
9f5028bbf0
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ AsyncIOMainLoop().install()
|
|||
|
||||
try:
|
||||
import pycurl
|
||||
AsyncHTTPClient.configure("tornado.curl_httpclient.CurlAsyncHTTPClient")
|
||||
AsyncHTTPClient.configure("tornado.curl_httpclient.CurlAsyncHTTPClient", max_clients=20)
|
||||
except ImportError:
|
||||
pycurl = None
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue