mirror of
https://github.com/VinGarcia/ksql.git
synced 2025-04-27 13:12:34 +00:00
As known, a map can't be accessed with read/write concurrently on multiple goroutines. This just replaces all uses of global maps for caches with sync.Map, which is safe to be used concurrently.