Skip to content

Commit

Permalink
Merge pull request #12 from ostark/fix/queue-component-error
Browse files Browse the repository at this point in the history
Fix/queue component error
  • Loading branch information
Oliver Stark authored Sep 14, 2022
2 parents 840349e + 5c20430 commit 4dd1c06
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes will be documented in this file.

## 2.0.1 - 2022-09-14

- Fix `Queue must be an application component.` error

## 2.0.0 - 2022-05-19

- Craft 4 support
Expand Down
2 changes: 2 additions & 0 deletions src/Queue/HashedJobQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ class HashedJobQueue extends Queue implements QueueInterface

private ?string $jobDescription;

public ?string $channel = 'queue';

public function __construct(Hasher $hasher, $config = [])
{
parent::__construct($config);
Expand Down

0 comments on commit 4dd1c06

Please sign in to comment.