Commits

Anonymous committed 0bf0f55

use default max_simultaneous_connections

Comments (0)

Files changed (1)

 
     def __init__(self, db_name, host='localhost', port=5984):
         self.couch_url = 'http://{0}:{1}'.format(host, port)
-        self.client = httpclient.HTTPClient(max_simultaneous_connections=25)
+        self.client = httpclient.HTTPClient()
         self.db_name = db_name
 
     # Database operations
     '''Basic wrapper class for asynchronous operations on a CouchDB'''
     def __init__(self, db_name, host='localhost', port=5984):
         self.couch_url = 'http://{0}:{1}'.format(host, port)
-        self.client = httpclient.AsyncHTTPClient2(max_simultaneous_connections=25)
+        self.client = httpclient.AsyncHTTPClient()
         self.db_name = db_name
 
     # Database operations