projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dac050b
)
add pool configurations to defaults
author
Kenneth Reitz
<me@kennethreitz.com>
Sun, 23 Oct 2011 22:15:02 +0000
(18:15 -0400)
committer
Kenneth Reitz
<me@kennethreitz.com>
Sun, 23 Oct 2011 22:15:02 +0000
(18:15 -0400)
requests/defaults.py
patch
|
blob
|
history
diff --git
a/requests/defaults.py
b/requests/defaults.py
index
951c056
..
e3f5478
100644
(file)
--- a/
requests/defaults.py
+++ b/
requests/defaults.py
@@
-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