Skip to content

Commit e442bdb

Browse files
committed
Only use JobRetryRequested in Laravel 8
1 parent a83568d commit e442bdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bootstrappers/QueueTenancyBootstrapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected static function setUpJobListener($dispatcher, $runningTests)
5454
});
5555

5656
if (Str::startsWith(app()->version(), '8')) {
57-
// queue:retry tenancy is only supported in Laravel 8
57+
// JobRetryRequested only exists since Laravel 8
5858
$dispatcher->listen(JobRetryRequested::class, function ($event) use (&$previousTenant) {
5959
$previousTenant = tenant();
6060

0 commit comments

Comments
 (0)