修复更新节点时并发导致的分配失败问题

This commit is contained in:
2025-08-16 18:38:29 +08:00
parent 83f112c260
commit b6731f8442
3 changed files with 9 additions and 16 deletions

View File

@@ -1,15 +0,0 @@
package main
func main() {
//slog.Debug("初始化环境变量")
//err := godotenv.Load()
//if err != nil {
// slog.Error(fmt.Errorf("初始化变量失败:%w", err).Error())
//}
//
//model.Init()
//clients.InitRedis()
//
//cities, _ := actions.FindCitiesWithEdgesCount(model.DB)
//fmt.Printf("%v\n", cities)
}