-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
↩ Needs RevisitingThis issue or PR has been brought back and needs to be worked on.This issue or PR has been brought back and needs to be worked on.
Description
It appears as though every method defined in this gem is intended to be called as a class method, not an instance method. Of course these class methods often modify class variables which makes it impossible to use this gem in a thread safe way without locking threads.
Was the decision made to sacrifice thread safety in order to call methods easily on classes? Were there any other reasons why thread safety wasn't considered?
I'd like to use this gem to generate deterministic fake data for a preproduction API that runs in Puma (threads instead of processes). Was hoping there was a way to use it without needing to lock.
Metadata
Metadata
Assignees
Labels
↩ Needs RevisitingThis issue or PR has been brought back and needs to be worked on.This issue or PR has been brought back and needs to be worked on.