mirror of
https://github.com/searxng/searxng.git
synced 2026-06-01 07:27:16 +02:00
[enh] use one single http connection pool : improve response time. close #100
This commit is contained in:
+1
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user