prevent concurrent map write to questCache

This commit is contained in:
wish
2025-03-08 11:41:57 +11:00
parent 3e71c308f4
commit f2862ea4b8
2 changed files with 3 additions and 0 deletions

View File

@@ -75,6 +75,7 @@ type Server struct {
raviente *Raviente
questCacheLock sync.RWMutex
questCacheData map[int][]byte
questCacheTime map[int]time.Time
}