Skip to content

Commit fcfd126

Browse files
committed
(yiisoft#372) Add ability to configure keepalive and heartbeat for AMQP and AMQP interop
1 parent b90c39d commit fcfd126

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Yii2 Queue Extension Change Log
44
2.3.6 under development
55
-----------------------
66

7-
- no changes in this release.
7+
- Enh #372: Add ability to configure keepalive and heartbeat for AMQP and AMQP interop (vyachin)
88

99

1010
2.3.5 November 18, 2022
@@ -41,7 +41,6 @@ Yii2 Queue Extension Change Log
4141
2.3.1 December 23, 2020
4242
-----------------------
4343

44-
- Enh #372: Add ability to configure keepalive and heartbeat for Amqp (vyachin)
4544
- Bug #380: Fixed amqp-interop queue/listen signal handling (tarinu)
4645
- Enh #388: `symfony/process 5.0` compatibility (leandrogehlen)
4746

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"require-dev": {
2424
"yiisoft/yii2-redis": "*",
2525
"php-amqplib/php-amqplib": "*",
26-
"enqueue/amqp-lib": "^0.8",
26+
"enqueue/amqp-lib": "^0.8||^0.9.10",
2727
"pda/pheanstalk": "v3.*",
2828
"opis/closure": "*",
2929
"yiisoft/yii2-debug": "*",

src/drivers/amqp/Queue.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ class Queue extends CliQueue
3737
*/
3838
public $heartbeat = 0;
3939
/**
40-
* @var bool send keep-alive packets for a socket connection
41-
* @since 2.3.1
40+
* Send keep-alive packets for a socket connection
41+
* @var bool
42+
* @since 2.3.6
4243
*/
4344
public $keepalive = false;
4445
/**

src/drivers/amqp_interop/Queue.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ class Queue extends CliQueue
109109
*/
110110
public $persisted;
111111
/**
112-
*
113-
* @var bool send keep-alive packets for a socket connection
114-
* @since 2.3.1
112+
* Send keep-alive packets for a socket connection
113+
* @var bool
114+
* @since 2.3.6
115115
*/
116116
public $keepalive;
117117
/**

0 commit comments

Comments
 (0)