Derek,

log messages with tag "websocket" are not directly related to MQTT, they are from the webserver component providing the websocket stream.

To see log messages by the MQTT client, raise the log level for tag "ovms-server-v3".

Regards,
Michael


Am 29.08.20 um 22:29 schrieb Derek Caudwell:
Hi all,

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:

2020-08-30 07:42:37 NZST W (481206) websocket: WebSocketHandler[0x3f866d34]: job queue overflow detected 
2020-08-30 07:42:37 NZST W (481376) websocket: WebSocketHandler[0x3f866d34]: job queue overflow resolved, 30 drops

A short delay eg 10-25ms in the TransmitMetric() function resolves it, but there is probably a better approach?

Kind regards
Derek

_______________________________________________
OvmsDev mailing list
OvmsDev@lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev

-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26