mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #16630] issue: WEB_SEARCH_CONCURRENT_REQUESTS is not being honored #17984
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @svenseeberg on GitHub (Aug 14, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16630
Check Existing Issues
Installation Method
pip install
Open WebUI Version
0.6.18
Ollama Version (if applicable)
No response
Operating System
Debian 12
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
WEB_SEARCH_CONCURRENT_REQUESTS is set to 1 but there are still 3 concurrent requests being sent when looking into the log file. This leads directly to rate limit issues with some search engines, for example DuckDuckGo and Brave.
Actual Behavior
If WEB_SEARCH_CONCURRENT_REQUESTS is set to 1, only one request should be sent.
Steps to Reproduce
Logs & Screenshots
Additional Information
No response
@rgaricano commented on GitHub (Aug 14, 2025):
"Issue" from the pseudosearch library (Dux Distributed Global Search) that also make parallel requests. The number of threads of this lib, by default 3, can be setted.
It's enought with limiting it to 1 or just passing the WEB_SEARCH_CONCURRENT_REQUESTS var to ddgs function,
with this changes in https://github.com/open-webui/open-webui/blob/dev/backend/open_webui/retrieval/web/duckduckgo.py :
+
from open_webui.config import WEB_SEARCH_CONCURRENT_REQUESTS+L30:
ddgs.threads=WEB_SEARCH_CONCURRENT_REQUESTSFor reference :
@tjbck commented on GitHub (Aug 17, 2025):
@rgaricano PR welcome!
@tjbck commented on GitHub (Aug 18, 2025):
Should be addressed in dev.
WEB_SEARCH_CONCURRENT_REQUESTSenv var has been renamed toWEB_LOADER_CONCURRENT_REQUESTSto better reflect its functionality.@Classic298 commented on GitHub (Aug 18, 2025):
docs updated in dev