File tree 1 file changed +1
-4
lines changed
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -87,17 +87,14 @@ private function establishConnection(): BunnyClient
87
87
$ bunnyConfig ['password ' ] = $ this ->config ->getPass ();
88
88
$ bunnyConfig ['read_write_timeout ' ] = min ($ this ->config ->getReadTimeout (), $ this ->config ->getWriteTimeout ());
89
89
$ bunnyConfig ['timeout ' ] = $ this ->config ->getConnectionTimeout ();
90
+ $ bunnyConfig ['heartbeat ' ] = $ this ->config ->getHeartbeat ();
90
91
91
92
// @see https://github.com/php-enqueue/enqueue-dev/issues/229
92
93
// $bunnyConfig['persistent'] = $this->config->isPersisted();
93
94
// if ($this->config->isPersisted()) {
94
95
// $bunnyConfig['path'] = 'enqueue';//$this->config->getOption('path', $this->config->getOption('vhost'));
95
96
// }
96
97
97
- if ($ this ->config ->getHeartbeat ()) {
98
- $ bunnyConfig ['heartbeat ' ] = $ this ->config ->getHeartbeat ();
99
- }
100
-
101
98
if (null !== $ this ->config ->getOption ('tcp_nodelay ' )) {
102
99
$ bunnyConfig ['tcp_nodelay ' ] = $ this ->config ->getOption ('tcp_nodelay ' );
103
100
}
You can’t perform that action at this time.
0 commit comments