Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
revert #1615
  • Loading branch information
amirhshokri committed Oct 8, 2025
commit d3e7c7f58da186ec19557654991b281b99d69393
10 changes: 1 addition & 9 deletions src/HorizonServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,7 @@ protected function configure()
__DIR__.'/../config/horizon.php', 'horizon'
);

$connection = config('horizon.use', 'default');

if ($connection === 'horizon') {
throw new InvalidArgumentException(
'The Redis connection name [horizon] is reserved for internal use.'
);
}

Horizon::use($connection);
Horizon::use(config('horizon.use', 'default'));
}

/**
Expand Down