38 is caused by sharing of the same *Fielder between all goroutines. random.RNG is not safe to share without locking, but locking would be prohibitively expensive for us.
Short description of the changes
Prevents crash under extremely high TPS loads where many generator goroutines are running. Fixes #38.
Which problem is this PR solving?
38 is caused by sharing of the same
*Fielder
between all goroutines.random.RNG
is not safe to share without locking, but locking would be prohibitively expensive for us.Short description of the changes