From 4f1362f4bf1c9c1628d6cb10b3109a5c24a3b468 Mon Sep 17 00:00:00 2001 From: Mike Little Date: Thu, 20 Jul 2023 16:49:22 +0000 Subject: [PATCH] Updates to Cavalcade and Infrastructure pages Updated confusing placement of infrastructure limitation link. Add link to Cavalcade page from infrastructure page. --- docs/limitations.md | 2 +- docs/scheduled-tasks.md | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/limitations.md b/docs/limitations.md index 40479bb2..3f78a94e 100644 --- a/docs/limitations.md +++ b/docs/limitations.md @@ -32,7 +32,7 @@ Direct access to PHP files is not allowed on Altis, outside of `/wp-admin/*`. Fo ## Execution Time Limit -All web requests are subject to a 60 second maximum execution. Anything that requires more time than this should be offloaded to a background cron task using `wp_schedule_single_event()` or similar. +All web requests are subject to a 60-second maximum execution. Anything that requires more time than this should be offloaded to a background cron task using `wp_schedule_single_event()` or similar. See [Scheduled tasks](./scheduled-tasks.md) for more information. ## No Custom PHP Modules diff --git a/docs/scheduled-tasks.md b/docs/scheduled-tasks.md index 01928cc5..ccb5d3db 100644 --- a/docs/scheduled-tasks.md +++ b/docs/scheduled-tasks.md @@ -2,12 +2,13 @@ WordPress provides an API for running scheduled tasks that are typically only triggered by uncached user visits to any page of the site, which can be quite unreliable. Additionally this built in cron job system does not scale well on a multi-server architecture such as that provided by Altis. -Altis provides a service called Cavalcade to solve this problem by using a system process to trigger tasks. This has the added benefits of separating background task processing from the web server processes and supporting long running tasks, up to 1 hour. See the [infrastructure limitations guide](./limitations.md) for further details. +Altis provides a service called Cavalcade to solve this problem by using a system process to trigger tasks. This has the added benefits of separating background task processing from the web server processes and supporting long-running tasks, up to 1 hour. Cavalcade is also used on the Local Server and Local Chassis environments to replicate the behaviour of cloud. -The integration with WordPress is seamless, so existing WordPress themes, plugins and other 3rd party code that uses sheduled tasks will be compatible. +The integration with WordPress is seamless, so existing WordPress themes, plugins and other 3rd party code that uses scheduled tasks will be compatible. +Bear in mind, Altis runs on a read-only file system, and stores the uploads directory remotely. See the [infrastructure limitations guide](./limitations.md) for further details. ## Creating Scheduled Tasks