MessageManager - ERROR: the index 'maxMessageRage' does not exist


#1

Hi,
https://electricimp.com/docs/libraries/utilities/messagemanager/ , it’s written:

maxMessageRate - Maximum message send rate, which d ...

My code: ` local options = { "debug": false, "retryInterval": 61, "messageTimeout": 1, "autoRetry": true, // "maxAutoRetries": 10, "maxMessageRate": 20, "connectionManager": cm } ` Output: ` 27-03-2017 23:26:43 [Device] ERROR: the index 'maxMessageRage' does not exist 27-03-2017 23:26:43 [Device] ERROR: in constructor ...messagemanager.class.nut#1.0.1:298 27-03-2017 23:26:43 [Device] ERROR: (clickable) at main device.nut:131 ` From GitHUB

_maxRate = "maxMessageRate" in config ? config["maxMessageRage"] : MM_DEFAULT_MAX_MESSAGE_RATE;


#2

Thanks for reporting the issue. I will take care of this shortly.


#3

The v1.0.2 with the fix is available now: #require “messagemanager.class.nut:1.0.2”

Thanks!


#4

Thanks