localcache

This commit is contained in:
withchao
2024-01-10 11:57:46 +08:00
parent f0e5c587ad
commit 03e15766ab
2 changed files with 19 additions and 0 deletions
+7
View File
@@ -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
}