add pool configurations to defaults
authorKenneth Reitz <me@kennethreitz.com>
Sun, 23 Oct 2011 22:15:02 +0000 (18:15 -0400)
committerKenneth Reitz <me@kennethreitz.com>
Sun, 23 Oct 2011 22:15:02 +0000 (18:15 -0400)
requests/defaults.py

index 951c056..e3f5478 100644 (file)
@@ -35,4 +35,5 @@ defaults['max_redirects'] = 30
 defaults['decode_unicode'] = True
 defaults['timeout_fallback'] = True
 # defaults['keep_alive'] = True
-# defaults['max_connections'] = 10
\ No newline at end of file
+defaults['pool_connections'] = 10
+defaults['pool_maxsize'] = 1
\ No newline at end of file