Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Commit2d2e274
committed
[Config] Do not use absolute path when computing the vendor freshness
When one uses Docker with a different mounting point between CLI & FPM,the cache keeps regenerating because the ComposerResource class see adifferent path for each SAPI. For example `/home/app/app/vendor` vs`/var/www/app/vendor`.So if you hit FPM, then the CLI, then FPM, each time a new cache isgenerated. So the application is quite slow in dev env. And for peopleon MacOSX (with docker) is a big pain! And obvisouly, this neverstabilizes !This occurs a lot when you have a worker, that crash and reboot in thebackground, and you browse the web interface. Or when you have somethingthat hit your API every X secondes, and you are working on a worker.1 parent04b9ce3 commit2d2e274
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments
Comments
(0)