Skip to content

Commit

Permalink
Update deploy-jobs.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasraoni authored Feb 26, 2024
1 parent ddbfd62 commit 39bf897
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions admin-guide/en/deploy-jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ Every server should be configured with _one_ of the following methods for runnin

### Workers

For large sites, we recommend using the worker mode together with a supervisor-like application to process the jobs.
The worker will run as a daemon, wait for jobs to be dispatched, execute a single job and quit. Once the worker quits, the supervisor will create another instance of it to process the remaining jobs.
System resources can be allocated to the worker so that it will not cause spikes in resource usage that slow down the main site.
For large sites, we recommend using a worker to process jobs. The worker, when run as a daemon, will wait for jobs to be dispatched and then run them one-by-one in a separate process on the server.
System resources can be specifically allocated to the worker so that it will not cause spikes in resource usage that slow down the main site.

The following command can be used to initialize a worker.

Expand Down Expand Up @@ -217,4 +216,4 @@ Jobs should never be run while the site is under maintenance, for example during

---

Learn more about handling [user accounts](./deploy-users).
Learn more about handling [user accounts](./deploy-users).

0 comments on commit 39bf897

Please sign in to comment.