![]() ![]() If desired, you can download a zip and install via the WordPress plugin installer.Ĭreate a symlink at the site root (the same directory as wp-settings.php) that points to the wp-minions-runner.php file in the plugin (or copy the file, but a symlink will ensure it is updated if the plugin is updated)ĭefine a unique salt in wp-config.php so that multiple installs don't conflict.Boneraiser Minions Free Download only on. Make sure not to send any production traffic to the server, and it will exclusively handle tasks from the queue. In the situation of needing more ram or higher timeouts, a separate server to process the tasks is ideal - Just set up WordPress on that server like the standard web servers, and up the resources. As minions are free, they will take the next task from the queue, call the action, and any callbacks hooked into the action will be run. WP Minions provides a few helper functions that allow you to add tasks to a queue, and specify an action that should be called to trigger the task, just hook a callback into the action using add_action()ĭuring configuration, a number of minions (workers) are specified. Things like generating reports, expensive API calls, syncing users to mail providers, or even ingesting content from feeds all take a lot of time or a lot of memory (or both), and commonly can't finish within common limitations of web servers, because things like timeouts and memory limits get in the way. Provides an integration with Gearman and RabbitMQ out of the box.Īs WordPress becomes a more popular publishing platform for increasingly large publishers, with complex workflows, the need for increasingly complex and resource-intensive tasks has only increased. Provides a framework for using job queues with WordPress for asynchronous task running.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |