Oct 6, 2018
0
Level 4
Order of fpm restart, cache config, queue restart tasks?
I think some of my deployments have been a little tripped up by the order of some tasks. I am using OPCache, so I need to restart fpm, i want to cache the config, and need to restart my horizon queue. I believe the order should be:
- cache config
- fpm restart
- restart queues
I think restarting the queues before fpm was my problem, as the queue process was loading the old opcached code? I'm not exactly sure how opcache would interact with the config, but I am guessing you want it cached prior to any code that accesses it gets cached. Does this make sense?
Thanks
Please or to participate in this conversation.