Skip to content

Commit f00cedf

Browse files
fixed comments
1 parent 913d0fd commit f00cedf

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

locking.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Locking
22
=======
3-
To avoid concurrency issue the library is able to lock other executions which
4-
would run at the same time. This could happen if multiple worker (e.g. cronjobs)
3+
To avoid concurrency issues, the library is able to lock other executions which
4+
would run at the same time. This could happen if multiple workers (e.g. cronjobs)
55
run at the same time.
66

77
Each ``TaskHandler`` decides if and how many other Tasks will be blocked while a

symfony.rst

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ to be sure that the task-table will be updated.
8181

8282
Locking
8383
-------
84-
Locking is used to avoid concurrency problems when multiple task-runner runs at
84+
Locking is used to avoid concurrency problems when multiple task-runners run at
8585
the same time (see :doc:`locking`). This feature has to be enabled and will have
8686
multiple different storages in the future.
8787

@@ -105,7 +105,14 @@ Configuration Reference
105105
storages:
106106
file:
107107
directory: '%kernel.cache_dir%/tasks'
108-
mode: 'off' # One of "off"; "listener"
108+
system_tasks:
109+
110+
# Prototype
111+
-
112+
enabled: true
113+
handler_class: ~
114+
workload: null
115+
cron_expression: ~
109116
110117
111118
.. _fastcgi_finish_request: http://php.net/manual/en/function.fastcgi-finish-request.php

0 commit comments

Comments
 (0)