diff --git a/config/module.config.php b/config/module.config.php index d4332e9..b9111df 100644 --- a/config/module.config.php +++ b/config/module.config.php @@ -11,10 +11,8 @@ use SlmQueue\Queue\QueuePluginManager; use SlmQueue\Strategy\AttachQueueListenersStrategy; use SlmQueue\Strategy\Factory\AttachQueueListenersStrategyFactory; -use SlmQueue\Strategy\Factory\LogJobStrategyFactory; use SlmQueue\Strategy\FileWatchStrategy; use SlmQueue\Strategy\InterruptStrategy; -use SlmQueue\Strategy\LogJobStrategy; use SlmQueue\Strategy\MaxMemoryStrategy; use SlmQueue\Strategy\MaxPollingFrequencyStrategy; use SlmQueue\Strategy\MaxRunsStrategy; @@ -100,7 +98,6 @@ ], 'factories' => [ AttachQueueListenersStrategy::class => AttachQueueListenersStrategyFactory::class, - LogJobStrategy::class => LogJobStrategyFactory::class, ], ], ], diff --git a/config/slm_queue.global.php.dist b/config/slm_queue.global.php.dist index d8d2822..f4051b1 100644 --- a/config/slm_queue.global.php.dist +++ b/config/slm_queue.global.php.dist @@ -5,7 +5,6 @@ * forget to remove the .dist extension from the file), and configure it as you want */ -use SlmQueue\Strategy\LogJobStrategy; use SlmQueue\Strategy\MaxMemoryStrategy; use SlmQueue\Strategy\ProcessQueueStrategy; @@ -64,7 +63,7 @@ return [ * * 'strategy_manager' => [ * 'factories' => [ - * LogJobStrategy::class => 'MyVeryOwn\LogJobStrategyFactory', + * MyVeryOwn\LogJobStrategy::class => 'MyVeryOwn\LogJobStrategyFactory', * ] * ], */ diff --git a/docs/6.Events.md b/docs/6.Events.md index 9776605..b6e201c 100644 --- a/docs/6.Events.md +++ b/docs/6.Events.md @@ -329,15 +329,6 @@ listens to: This strategy is enabled by default for all queue's. -#### LogJobStrategy - -Simple outputs to the console a when it begin executing a job and when it is done. - -listens to: - - - `process.job` event at priority 1000 - - `process.job` event at priority -1000 - #### MaxMemoryStrategy The MaxMemoryStrategy will measure the amount of memory allocated to PHP after each processed job. It will request to