mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #7026] The RAG_WEB_SEARCH_CONCURRENT_REQUESTS environment variable is not working, making it very slow. #30101
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 @yeounhak on GitHub (Nov 19, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7026
Bug Report
Installation Method
git clone
Environment
Confirmation:
Expected Behavior:
Setting the RAG_WEB_SEARCH_CONCURRENT_REQUESTS environment variable should make loading websites run concurrently, which should be much faster.
Actual Behavior:
since RAG_WEB_SEARCH_CONCURRENT_REQUESTS is not working, it is very slow.
Description
Bug Summary:
Since RAG_WEB_SEARCH_CONCURRENT_REQUESTS is not working, loading 10 websites takes 13.9 seconds, which is very slow.
Reproduction Details
Steps to Reproduce:
[Outline the steps to reproduce the bug. Be as detailed as possible.]ff
Logs and Screenshots
Additional Information
The get_web_loader code here did not take the environment variable RAG_WEB_SEARCH_CONCURRENT_REQUESTS as the parameter for requests_per_second.
@Yimi81 commented on GitHub (Feb 11, 2025):
In my environment, I set the concurrency to 10 to search for 3 web pages, but it still takes 18 seconds. What is the reason for this?
@yeounhak commented on GitHub (Feb 11, 2025):
My pull request was reverted. Was there a reason for it, or was it mistakenly reverted? @tjbck
Origin : loader.load()
My PR : loader.aload()
Now : loader.load()
@Yimi81 commented on GitHub (Feb 11, 2025):
This code is very slow