Skip to content

Commit 73654cb

Browse files
committed
Add null failer
1 parent f3dc2e1 commit 73654cb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

etc/queue.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
use Windwalker\Queue\Driver\SqsQueueDriver;
1313
use Windwalker\Queue\Driver\SyncQueueDriver;
1414
use Windwalker\Queue\Failer\DatabaseQueueFailer;
15+
use Windwalker\Queue\Failer\NullQueueFailer;
1516
use Windwalker\Queue\Queue;
1617
use Windwalker\Queue\QueuePackage;
1718

@@ -93,7 +94,8 @@
9394
'database' => fn (DatabaseManager $dbManager) => new DatabaseQueueFailer(
9495
db: $dbManager->get(),
9596
table: 'queue_failed_jobs'
96-
)
97+
),
98+
'null' => NullQueueFailer::class
9799
]
98100
],
99101
]

0 commit comments

Comments
 (0)