mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 08:56:27 +02:00
Fix simple sms api + add wait on system v queue (see to improve that later)
This commit is contained in:
parent
473fb297f3
commit
04b0f1267a
2 changed files with 13 additions and 2 deletions
|
@ -70,7 +70,7 @@ class SystemVQueue implements Queue
|
|||
|
||||
$this->get_queue();
|
||||
$error_code = null;
|
||||
$success = msg_send($this->queue, $tag, $message, true, false, $error_code);
|
||||
$success = msg_send($this->queue, $tag, $message, true, true, $error_code);
|
||||
if (!$success)
|
||||
{
|
||||
throw new \Exception('Impossible to send the message on system V queue, error code : ' . $error_code);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue