MQTT eats 100% CPU
cyanide-burnout opened this issue · comments
Artem Prilutskiy commented
local mqtt = require('mqtt')
local connection = mqtt.new("Registry-LastHeard", true)
connection:connect({ host = 'localhost', port = 1883 })
Vas Soshnikov commented
Version is 'mosquitto version 1.4.11 (build date Mon, 20 Feb 2017 22:47:27 +0000) starting'
Artem Prilutskiy commented
https://github.com/tarantool/mqtt/blob/master/mqtt/driver.c#L79
Dedails of ussie descussed with @dedok
Vas Soshnikov commented
Fixed
Vas Soshnikov commented
The problem was here:
https://github.com/tarantool/mqtt/blob/master/mqtt/driver.c#L97