I noticed that starting up and closing down the plugin takes longer every time. I not have about 80 Tasmota devices, planning to add 10 to 20 more. The database contains nearly 15.500 entries, including almost 600 accept entries. At startup, PopulateMqttReceiveDictionary is taking most of the time. First, it reads all the accept topics, which takes around 25 seconds. After that, in the background, it reads all 15.500 entries, which takes about 210 seconds. In those 4 minutes in total, it seems that the plugin does not accept nor send any topics.
I understand that all accept entries must be processed before you accept any received topic, but is it really necessary to wait to read ALL entries before the plugin becomes operational? Or is there anything that can be done to speed up this process?
I haven't looked at closing the plugin yet.
Thanks!
I understand that all accept entries must be processed before you accept any received topic, but is it really necessary to wait to read ALL entries before the plugin becomes operational? Or is there anything that can be done to speed up this process?
I haven't looked at closing the plugin yet.
Thanks!
Comment