mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-09 06:46:37 +08:00
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:
@@ -248,6 +248,9 @@ func (c *Container) Boot() {
|
||||
// 启动调度器定时任务
|
||||
c.Scheduler.Start(c.stopCtx)
|
||||
|
||||
// 云盘存储健康检查
|
||||
c.BootCloudStorageHealthCheck(c.stopCtx)
|
||||
|
||||
// 自动扫描云盘媒体库,使内容对所有用户立即可见
|
||||
c.BootCloudLibraries(c.stopCtx)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user