In an attempt to polish my Statamic stack with better performances, I enabled redis for storing the stache and added the Spatie/fork package and start testing the generation with 4 workers.
Since I could not generate correctly my static files. It close everytime like this :
With a lot of this kind of errors in the way (I have around 600 files to generate) :
However, if I switch redis for "file" driver, everything works, even with multiple workers, I could then generate all my website in a minute :)
I tried to not use any worker but I had same exceptions. I had to completely remove the fork package in order to work.
So for resume :
Redis && Fork = SSG KO
Redis without Fork = SSG OK
File driver && Fork = SSG OK
Hello guys !
In an attempt to polish my Statamic stack with better performances, I enabled redis for storing the stache and added the Spatie/fork package and start testing the generation with 4 workers.
Since I could not generate correctly my static files. It close everytime like this :
With a lot of this kind of errors in the way (I have around 600 files to generate) :
However, if I switch redis for "file" driver, everything works, even with multiple workers, I could then generate all my website in a minute :)
I tried to not use any worker but I had same exceptions. I had to completely remove the fork package in order to work. So for resume : Redis && Fork = SSG KO Redis without Fork = SSG OK File driver && Fork = SSG OK
Here is my details environments :