2 Commits

Author SHA1 Message Date
luxcgo
0654bff7d5
use sync.Once to replace lock (#5710)
* use atomic operation to optimize performance

* use sync.Once to replace lock
2024-10-05 22:43:21 +08:00
Ming Deng
2d0da431cb
refactor: move the modelCache to internal/models package (#5306) 2023-08-28 21:10:31 +08:00