ravendb / ravendb-go-client

MIT License
39 stars 16 forks source link

fix concurrency issue in documents_by_id.go #196

Closed tomasweigenast closed 1 year ago

tomasweigenast commented 1 year ago

The fix was made by changing map[string]*documentInfo with sync.Map

Package upgraded to Go 1.18

ayende commented 1 year ago

See the comment here: https://github.com/ravendb/ravendb-go-client/issues/195

The session is meant to be a single threaded value, it is not meant or intended to be concurrent.