Skip to content

Commit

Permalink
Merge pull request #796 from humanmade/backport-793-to-v12-branch
Browse files Browse the repository at this point in the history
[Backport v12-branch] Updates to Cavalcade and Infrastructure pages
  • Loading branch information
mikelittle authored Jul 26, 2023
2 parents ee34df5 + 4f1362f commit 8a9f819
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/limitations.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 3 additions & 2 deletions docs/scheduled-tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8a9f819

Please sign in to comment.