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

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;

Comments

Sign In or Register to comment.