mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-09-09 19:12:04 +08:00
refactor: streamline cache initialization and enhance queue engine configuration
This commit is contained in:
parent
d0366c483d
commit
d172cfe29d
@ -178,7 +178,7 @@ func (x *cmds) loadFileConfig(name string, val any) error {
|
||||
return err
|
||||
}
|
||||
v := viper.New()
|
||||
v.SetConfigType("yaml")
|
||||
v.SetConfigType(config.StructTagName)
|
||||
if err := v.ReadConfig(bytes.NewReader(confData)); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user