mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[PR #11899] [MERGED] perf: set shorter timeout for playwright and make it configurable #22813
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/11899
Author: @genjuro214
Created: 3/20/2025
Status: ✅ Merged
Merged: 3/20/2025
Merged by: @tjbck
Base:
dev← Head:set-playwright-timeout📝 Commits (1)
07098c6perf: set shorter timeout for playwright and make it configurable📊 Changes
3 files changed (+22 additions, -4 deletions)
View changed files
📝
backend/open_webui/config.py(+6 -0)📝
backend/open_webui/main.py(+2 -0)📝
backend/open_webui/retrieval/web/utils.py(+14 -4)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
playwrightto open a URL from 30 seconds to 10 seconds, and make the value configurable in seconds viaPLAYWRIGHT_GOTO_TIMEOUTenvironment variable.Changed
playwrightto open a URL from 30 seconds to 10 seconds.PLAYWRIGHT_GOTO_TIMEOUTto configure the timeout value in seconds.Additional Information
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.