feat: add cloud storage health check on startup

- Validate all enabled cloud storage configs at boot
- Ping each cloud provider to ensure connectivity
- Log health status for better diagnostics
- Help identify cloud storage configuration issues early
This commit is contained in:
ShukeBta
2026-06-11 12:54:26 +08:00
parent 95794f7bbc
commit 7ef4af6287
2 changed files with 57 additions and 0 deletions
+3
View File
@@ -248,6 +248,9 @@ func (c *Container) Boot() {
// 启动调度器定时任务
c.Scheduler.Start(c.stopCtx)
// 云盘存储健康检查
c.BootCloudStorageHealthCheck(c.stopCtx)
// 自动扫描云盘媒体库,使内容对所有用户立即可见
c.BootCloudLibraries(c.stopCtx)