x
This commit is contained in:
@@ -36,6 +36,15 @@ async def init_rustfs_storage():
|
||||
return False
|
||||
|
||||
|
||||
async def rustfs_startup_hook():
|
||||
"""app_factory startup_hooks 注入点(D3 收敛):moldinsight/unified 入口把
|
||||
本钩子传入 create_app(startup_hooks=[rustfs_startup_hook]),RustFS 连接接线
|
||||
归属 moldinsight 层,平台工厂不再持有模块专属依赖(原 connect_rustfs 已移除)。
|
||||
"""
|
||||
ok = await init_rustfs_storage()
|
||||
print(f"[{'OK' if ok else 'WARN'}] RustFS")
|
||||
|
||||
|
||||
async def test_storage():
|
||||
"""测试 RustFS 对象存储功能"""
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user