ostark / craft-async-queue

Async Queue Handler for Craft 3 and 4
MIT License
93 stars 7 forks source link

Add environment config to disable the plugin #14

Closed smcyr closed 5 years ago

smcyr commented 5 years ago

It would be nice to have an environment config (example: DISABLE_ASYNC_QUEUE) for cases where you have continuous integration (with Jenkins for example) and multiple servers (staging, preprod, prod), but some of the servers don't have proc_open enabled. With Schematic and now Craft 3.1 project config, the plugin will be installed automatically on all servers even if proc_open is not there. Thanks!

ostark commented 5 years ago

@smcyr Yes, this should be easy to integrate.

ostark commented 5 years ago

Will be available in V2 https://github.com/ostark/craft-async-queue/tree/v2

https://github.com/ostark/craft-async-queue/commit/f55340ef5c084fd42b8a00538ed509df3960db0a