Skip to content

Commit 5f77352

Browse files
committed
changed operator on msg_receive function
1 parent f49bf59 commit 5f77352

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 4.0.16-beta1
2+
**Maintainer**: Sandro Aebischer <aebischer@gyselroth.com>\
3+
**Date**: Wed Oct 25 17:30:00 CET 2023
4+
5+
### Bugfix
6+
* Changed operator on msg_receive function
7+
18
## 4.0.15-beta1
29
**Maintainer**: Sandro Aebischer <aebischer@gyselroth.com>\
310
**Date**: Thu Dec 08 18:45:00 CET 2022

src/Queue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ protected function initWorkerManager()
224224
protected function fetchEvents()
225225
{
226226
while ($this->loop()) {
227-
if (msg_receive($this->queue, 0, $type, 16384, $msg, true, MSG_IPC_NOWAIT | MSG_NOERROR)) {
227+
if (msg_receive($this->queue, 0, $type, 16384, $msg, true, MSG_NOERROR & MSG_IPC_NOWAIT)) {
228228
$this->logger->debug('received systemv message type ['.$type.']', [
229229
'category' => get_class($this),
230230
]);

0 commit comments

Comments
 (0)