nette / robot-loader

🍀 RobotLoader: high performance and comfortable autoloader that will search and autoload classes within your application.
https://doc.nette.org/robotloader
Other
871 stars 32 forks source link

Problems under concurrency #33

Open chrisgraham opened 7 months ago

chrisgraham commented 7 months ago

Version: 3.4.2

Bug Description

When running PHPStan with parallelism on a large project, it is possible for the cache to corrupt due to very frequent reads and writes.

Steps To Reproduce

Not really possible.

Expected Behavior

PHPStan should run normally.

Possible Solution

Making a PR request that introduces new configuration options to mitigate the problem when running on dev environments under stress.