Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2_33cn
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
_site-res
yii2_33cn
Commits
0bda88e4
Commit
0bda88e4
authored
Aug 08, 2018
by
tufengqi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-001' into 'master'
fix See merge request
!1
parents
477327af
e468ab85
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
AMQPStreamConnection.php
...ns/AmqpLib/PhpAmqpLib/Connection/AMQPStreamConnection.php
+2
-1
No files found.
vendor/yiisoft/yii2-mns/AmqpLib/PhpAmqpLib/Connection/AMQPStreamConnection.php
View file @
0bda88e4
...
@@ -31,12 +31,13 @@ class AMQPStreamConnection extends AbstractConnection
...
@@ -31,12 +31,13 @@ class AMQPStreamConnection extends AbstractConnection
$login_method
=
'AMQPLAIN'
,
$login_method
=
'AMQPLAIN'
,
$login_response
=
null
,
$login_response
=
null
,
$locale
=
'en_US'
,
$locale
=
'en_US'
,
$connection_timeout
=
3.
0
,
$connection_timeout
=
0
,
$read_write_timeout
=
3.0
,
$read_write_timeout
=
3.0
,
$context
=
null
,
$context
=
null
,
$keepalive
=
false
,
$keepalive
=
false
,
$heartbeat
=
0
$heartbeat
=
0
)
{
)
{
$connection_timeout
=
$connection_timeout
?
:
\Yii
::
$app
->
fpf
->
getConfig
(
'mq_connect_time'
,
'common'
);
$io
=
new
StreamIO
(
$io
=
new
StreamIO
(
$host
,
$host
,
$port
,
$port
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment