When using LeanInteract with multiprocessing, the documentation clearly recommends to create a single LeanREPLConfig in the main process and then send it to worker processes that each spawn LeanServer instances from it. However, the question remains: is it unsafe to create two LeanREPLConfig instances in separate processes concurrently, and if so, are there specific cases where it is safe?
Indeed, there are clear use cases for creating configurations concurrently. For examples, one or several users might run several experiments concurrently, each via a Python script that uses multiprocessing. Can such cases present a risk? I imagine there is no risk when the configurations load projects from disjoint repositories. What if the same repository is used though? What if auto_build is set to True/False?
Answering such questions in the documentation would be valuable.