diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d5175e..d730bcb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ Latest ------ +## Changes +* [#311](https://github.com/cleverage/ui-process-bundle/issues/311) Documentation: the installation (workers) mentions that a single `scheduler_cron` worker must run unless symfony/lock is installed (with a lock store shared between the hosts of the workers). + ## Fixes * [#307](https://github.com/cleverage/ui-process-bundle/issues/307) The buffered log records are written to the database at the end (or failure) of the process of the execution only, no longer at the end of each of its sub-processes (e.g. a `ProcessExecutorTask` in a loop: one transaction per iteration, 1000 iterations took 10.5 s instead of 2.9 s). Update documentation, add tests. * [#305](https://github.com/cleverage/ui-process-bundle/issues/305) Database logs: the strings of the context of a log record are limited to 65536 characters (followed by ` [...] (over 65536 characters, total, truncated)`), as its arrays (#271): a larger string (e.g. the content of a file) over the maximum packet size of the database made the insertion of the log records written with it fail, and closed the connection shared with the process tasks. Update documentation, add tests. diff --git a/docs/index.md b/docs/index.md index d2bfcc2..7bc6b46 100644 --- a/docs/index.md +++ b/docs/index.md @@ -158,6 +158,10 @@ bin/console messenger:consume execute_process bin/console messenger:consume scheduler_cron ``` +Run a single `scheduler_cron` worker: with several ones, each due schedule is executed once per worker, unless +[symfony/lock](https://symfony.com/doc/current/lock.html) is installed (`composer require symfony/lock`, with a lock +store shared between the hosts of the workers), see [scheduler](reference/05-scheduler.md). + Now you can access the UI via http://your-domain.com/process. ### Configuration