|
30 | 30 | <code-block lang="bash" src="order_running_operations.sh" /> |
31 | 31 | </snippet> |
32 | 32 |
|
33 | | - <chapter title="Isolating Operations Execution" id="isolating_operations_execution"> |
| 33 | + <chapter title="Isolating Execution" id="isolating_execution"> |
34 | 34 | <p> |
35 | 35 | If you are deploying your application across multiple servers and running operations as part of your deployment process, |
36 | 36 | you likely do not want two servers attempting to run the database at the same time. |
|
43 | 43 | </code-block> |
44 | 44 | </chapter> |
45 | 45 |
|
46 | | - <chapter title="Split Launch Option" id="split_launch_option"> |
| 46 | + <chapter title="Split Execution" id="split_execution"> |
47 | 47 | <p> |
48 | 48 | Sometimes it becomes necessary to launch operations separately, for example, to notify about the successful deployment of a project. |
49 | 49 | </p> |
|
93 | 93 | </note> |
94 | 94 | </chapter> |
95 | 95 |
|
96 | | - <chapter title="Forcing Operations To Run In Production" id="forcing_operations_to_run_in_production"> |
| 96 | + <chapter title="Forcing Operations" id="forcing_operations"> |
97 | 97 | <tip> |
98 | 98 | Some commands cannot be executed in production without confirmation. |
99 | 99 | These include all commands except <code>%command_status%</code> and <code>%command_run%</code>. |
|
111 | 111 | </code-block> |
112 | 112 | </chapter> |
113 | 113 |
|
114 | | - <chapter title="Execution Every Time" id="execution_every_time"> |
| 114 | + <chapter title="Every Time" id="every_time"> |
115 | 115 | <p> |
116 | 116 | In some cases, you need to call the code every time you deploy the application. For example, to call reindexing. |
117 | 117 | </p> |
|
140 | 140 | </note> |
141 | 141 | </chapter> |
142 | 142 |
|
143 | | - <chapter title="Execution In A Specific Environment" id="execution_in_a_specific_environment"> |
| 143 | + <chapter title="Specific Environment" id="specific_environment"> |
144 | 144 | <note> |
145 | 145 | By default, the operation will run in all environments. |
146 | 146 | </note> |
|
183 | 183 | </p> |
184 | 184 |
|
185 | 185 | <code-block lang="php" src="within_transactions.php" include-lines="5-" /> |
| 186 | + |
| 187 | + <tip> |
| 188 | + <p> |
| 189 | + The number of code execution attempts in case of transaction errors is set in the |
| 190 | + <a href="%config_url%">settings</a> file. |
| 191 | + </p> |
| 192 | + <p> |
| 193 | + By default, the number of attempts is %transactions_attempts%. |
| 194 | + </p> |
| 195 | + </tip> |
186 | 196 | </chapter> |
187 | 197 |
|
188 | 198 | <chapter title="Asynchronous Call" id="asynchronous_call"> |
|
198 | 208 |
|
199 | 209 | <p> |
200 | 210 | In this case, the operation file that defines this parameter will run asynchronously using the |
201 | | - <code>DragonCode\LaravelDeployOperations\Jobs\OperationJob</code> class. |
| 211 | + <code>DragonCode\LaravelDeployOperations\Jobs\OperationJob</code> job. |
202 | 212 | </p> |
203 | 213 |
|
204 | 214 | <p> |
|
0 commit comments