zmq submit timeout

This commit is contained in:
yuri
2019-02-15 11:37:58 +02:00
parent d8efe74126
commit 95bbba4607
@@ -55,6 +55,9 @@ class Submission
$socket->connect($dsn);
$socket->send(json_encode($data));
$socket->setSockOpt(\ZMQ::SOCKOPT_LINGER, 1000);
$socket->disconnect($dsn);
} catch (\Throwable $e) {
$GLOBALS['log']->error("WebSocketSubmission: " . $e->getMessage());
}