diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2015-01-21 19:44:20 +0100 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2015-01-21 19:44:20 +0100 |
| commit | 10891bdeab9cc1ffb4b490d2d4897aca0f15c921 (patch) | |
| tree | 71bf1f76ccc6623d94215bc25e2f8fcbdabd9d8a /searx/search.py | |
| parent | 549dcac588e810090e98cb753fde2828bef66325 (diff) | |
| parent | d07cfd9089d05a6a81109518f03ba82660a4aef7 (diff) | |
Merge pull request #192 from dalf/connection-pool
[enh] improve response time. close #100
Diffstat (limited to 'searx/search.py')
| -rw-r--r-- | searx/search.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/searx/search.py b/searx/search.py index 0324d4aaf..b6cf84e94 100644 --- a/searx/search.py +++ b/searx/search.py @@ -15,9 +15,9 @@ along with searx. If not, see < http://www.gnu.org/licenses/ >. (C) 2013- by Adam Tauber, <asciimoo@gmail.com> ''' -import requests as requests_lib import threading import re +import searx.poolrequests as requests_lib from itertools import izip_longest, chain from operator import itemgetter from Queue import Queue @@ -31,7 +31,6 @@ from searx.utils import gen_useragent from searx.query import Query from searx import logger - logger = logger.getChild('search') number_of_searches = 0 |