mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-05 07:10:29 +08:00
Go: add context to storage (#17690)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -367,7 +367,7 @@ func main() {
|
||||
}
|
||||
defer redis.Close()
|
||||
|
||||
if err = storage.Init(); err != nil {
|
||||
if err = storage.Init(ctx); err != nil {
|
||||
common.Error("Failed to initialize storage factory", err)
|
||||
}
|
||||
defer storage.CloseStorage()
|
||||
|
||||
Reference in New Issue
Block a user