Skip to content

Commit 4e63a13

Browse files
committed
Merge pull request laravel#947 from eblount/patch-1
Documenting how to restart Queue workers with APCu
2 parents de58abc + e8f06b9 commit 4e63a13

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

queues.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ The easiest way to restart your workers is to include the following command in y
198198

199199
This command will instruct all queue workers to restart after they finish processing their current job.
200200

201+
> **Note:** This command relies on the cache system to schedule the restart. By default, APCu does not work for CLI commands. If you are using APCu, add `apc.enable_cli=1` to your APCu configuration.
202+
201203
### Coding For Daemon Queue Workers
202204

203205
Daemon queue workers do not restart the framework before processing each job. Therefore, you should be careful to free any heavy resources before your job finishes. For example, if you are doing image manipulation with the GD library, you should free the memory with `imagedestroy` when you are done.

0 commit comments

Comments
 (0)