这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@dalf
Copy link
Contributor

@dalf dalf commented Aug 14, 2021

What does this PR do?

Replace Uwsgi+Flask by Starlette+Uvicorn ( + Gunicorn in production mode see searx/run.py).
It seems the image proxy is fast enough to drop Morty.

Why is this change important?

https://github.com/searxng/searxng/wiki/Milestones#milestone-12---async

How to test this PR locally?

./local/py3/bin/activate
SEARX_DEBUG=1 python -m searx.webapp

Author's checklist

Related issues

@dalf
Copy link
Contributor Author

dalf commented Dec 20, 2021

It seems to work, but according to Kludex/starlette#279 (comment) starlette requires to drop Babel. I think Quart is a better solution if we want to go into the async direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant