chore(browser-fetch): enable lightpanda by default and widen allowlist
Deployment Config CI / Deployment Config (push) Failing after 10s
Desktop Client Build / Resolve Build Metadata (push) Successful in 25s
Frontend CI / Frontend (push) Successful in 3m38s
Backend CI / Backend (push) Successful in 16m45s
Desktop Client Build / Build Desktop Client (push) Successful in 26m27s
Desktop Client Build / Publish Client Artifacts to NAS (push) Successful in 39s
Deployment Config CI / Deployment Config (push) Failing after 10s
Desktop Client Build / Resolve Build Metadata (push) Successful in 25s
Frontend CI / Frontend (push) Successful in 3m38s
Backend CI / Backend (push) Successful in 16m45s
Desktop Client Build / Build Desktop Client (push) Successful in 26m27s
Desktop Client Build / Publish Client Artifacts to NAS (push) Successful in 39s
Turn the lightpanda-backed fetch service on, bump worker concurrency to 3, and add baidu.com plus weixin.sogou.com to the allowed domains so the knowledge URL fallback can resolve those sources without a config edit.
This commit is contained in:
@@ -218,17 +218,19 @@ generation:
|
||||
task_max_attempts: 3
|
||||
|
||||
browser_fetch:
|
||||
enabled: false
|
||||
enabled: true
|
||||
provider: lightpanda
|
||||
service_url: http://localhost:8082
|
||||
token: dev-browser-fetch-token
|
||||
queue_size: 64
|
||||
worker_concurrency: 2
|
||||
worker_concurrency: 3
|
||||
request_timeout: 45s
|
||||
cache_ttl: 6h
|
||||
allowed_domains:
|
||||
- zhuanlan.zhihu.com
|
||||
- zhihu.com
|
||||
- baidu.com
|
||||
- weixin.sogou.com
|
||||
trigger_status:
|
||||
- 403
|
||||
- 429
|
||||
|
||||
Reference in New Issue
Block a user