Skip to content

Set transport type for Unix socket connections#12

Open
gabacai wants to merge 2 commits into
workerman-php:masterfrom
gabacai:patch-1
Open

Set transport type for Unix socket connections#12
gabacai wants to merge 2 commits into
workerman-php:masterfrom
gabacai:patch-1

Conversation

@gabacai
Copy link
Copy Markdown

@gabacai gabacai commented May 2, 2026

为了 webman/redis-queue 支持 unix

Copilot AI review requested due to automatic review settings May 2, 2026 13:10
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Redis client connection setup to support Unix domain socket addresses (needed for webman/redis-queue Unix socket usage).

Changes:

  • Detect unix://... addresses and set the underlying AsyncTcpConnection transport to unix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Client.php Outdated
Comment thread src/Client.php
Comment on lines +330 to 331
}
if(!empty($this->_options['ssl'])){
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants