8000 [Messenger] Support rediss in transport bridge by RuslanZavacky · Pull Request #42932 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Messenger] Support rediss in transport bridge #42932

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
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
[Messenger] Support rediss in transport bridge
  • Loading branch information
RuslanZavacky authored and nicolas-grekas committed Sep 8, 2021
commit edfad64a38e86e3c2772c57fe2921f6fde0bbb83
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public function testSupportsOnlyRedisTransports()
$factory = new RedisTransportFactory();

$this->assertTrue($factory->supports('redis://localhost', []));
$this->assertTrue($factory->supports('rediss://localhost', []));
$this->assertFalse($factory->supports('sqs://localhost', []));
$this->assertFalse($factory->supports('invalid-dsn', []));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function createTransport(string $dsn, array $options, SerializerInterface

public function supports(string $dsn, array $options): bool
{
return 0 === strpos($dsn, 'redis://');
return 0 === strpos($dsn, 'redis://') || 0 === strpos($dsn, 'rediss://');
}
}

Expand Down
0