mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-07 10:35:59 +08:00
localcache
This commit is contained in:
@@ -110,3 +110,10 @@ func InitConfig(configFolderPath string) error {
|
||||
|
||||
return initConfig(&Config.Notification, NotificationFileName, configFolderPath)
|
||||
}
|
||||
|
||||
// todo test
|
||||
func init() {
|
||||
Config.LocalCache.Friend.Topic = "friend"
|
||||
Config.LocalCache.Friend.SlotNum = 500
|
||||
Config.LocalCache.Friend.SlotSize = 20000
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user