<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Derek,<br>
<br>
log messages with tag "websocket" are not directly related to MQTT,
they are from the webserver component providing the websocket
stream.<br>
<br>
To see log messages by the MQTT client, raise the log level for tag
"ovms-server-v3".<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 29.08.20 um 22:29 schrieb Derek
Caudwell:<br>
</div>
<blockquote type="cite"
cite="mid:CAKUcfWFzNtR_jSt_RKvPrJz-kdx6_y4-Z01REJChLdc5aT_=UQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>I've noticed that my mqtt metric messages are getting
truncated, ie some messages are not sent by
TransmitAllMetrics(). From the logs it is generating an
overflow condition:</div>
<div><br>
</div>
<pre style="color:rgb(0,0,0);white-space:pre-wrap">2020-08-30 07:42:37 NZST W (481206) websocket: WebSocketHandler[0x3f866d34]: job queue overflow detected </pre>
<div><span style="color:rgb(0,0,0);white-space:pre-wrap">2020-08-30 07:42:37 NZST W (481376) websocket: WebSocketHandler[0x3f866d34]: job queue overflow resolved, 30 drops</span></div>
<div><br>
</div>
<div>A short delay eg 10-25ms in the TransmitMetric() function
resolves it, but there is probably a better approach?</div>
<div><br>
</div>
<div>Kind regards</div>
<div>Derek</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
</body>
</html>