mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
All the datastores used by pinners and so on should be mutex wrapped. One issue with changing all of them from ds.Datastore -> ds.ThreadSafeDatastore is that we wrap the incoming ds.ThreadSafeDatastore with other datastores, which do not implement the interface. Re-wrapping again causes double locking. (which may be ok..., but...) any ideas? |
||
|---|---|---|
| .. | ||
| chunk | ||
| calc_test.go | ||
| importer_test.go | ||
| importer.go | ||