From 5afe151c7d9648e23b5c8c341af98f81629aaa46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9A=E7=AB=A0=E6=B5=A9?= Date: Thu, 29 Oct 2026 01:01:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(library):=20=E7=BB=B4=E6=8A=A4=E7=9B=AE?= =?UTF-8?q?=E6=A0=87=E6=8A=8A=E5=90=8E=E5=8F=B0=E9=9D=99=E9=BB=98=E6=A3=80?= =?UTF-8?q?=E6=9F=A5=E7=9A=84=E4=BE=9D=E8=B5=96=E6=8E=A5=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit openLibraryMaintenance 漏传了目标库/队列,导致实例级窗口永远报 "缺少后台静默检查"——接线漏了,防线却看起来像在工作。 --- cmd/worker/library_handlers.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmd/worker/library_handlers.go b/cmd/worker/library_handlers.go index 5dec9c9..2b6d33a 100644 --- a/cmd/worker/library_handlers.go +++ b/cmd/worker/library_handlers.go @@ -84,6 +84,11 @@ func openLibraryMaintenance(config appconfig.Config) (*librarymaintenance.Manage Database: database, Index: config.LibraryProductionIndex, Bucket: config.LibraryProductionS3Bucket, + // 后台静默检查的运行时依赖:HTTP 排空不等于后台任务排空。 + DatabaseURL: config.LibraryProductionDatabaseURL, + RedisAddr: config.LibraryTargetRedisAddr, + RedisPassword: config.LibraryTargetRedisPassword, + RedisDB: config.LibraryTargetRedisDB, }) }