[enh] use one single http connection pool : improve response time. close #100

This commit is contained in:
dalf 2015-01-21 11:33:16 +01:00
parent a865e6672f
commit d07cfd9089
5 changed files with 65 additions and 5 deletions

View file

@ -27,7 +27,6 @@ import cStringIO
import os
from datetime import datetime, timedelta
from requests import get as http_get
from itertools import chain
from urllib import urlencode
from flask import (
@ -36,6 +35,7 @@ from flask import (
)
from flask.ext.babel import Babel, gettext, format_date
from searx import settings, searx_dir
from searx.poolrequests import get as http_get
from searx.engines import (
categories, engines, get_engines_stats, engine_shortcuts
)