Skip to content

RPC Timeout doesn't work (multiples devices) #2393

@hjlopezr

Description

@hjlopezr

Hi everybody
I need to reduce the timeout in a RPC message send to a several devices , but the "sendTwoWayRpcCommand" doesn't have the timeout parameter.
I try to reduce the timeout in the root rulechain and doesn't work: always send 2 or 3 messages to IOT devices with a timeout of 10seconds (total: 30 seconds).
Where can i configure the timeout and the quantity of messages that thingsboard send?
Thanks in advanced!

====CODE INIT==========
var $scope = self.ctx.$scope;
var deviceService = $scope.$injector.get('deviceService');

for (var i = 0; i < arrayDevices.length; i++){
deviceService.sendTwoWayRpcCommand(arrayDevices[i], requestBody).then(
function success(responseBody) { console.log("100%"); },
function fail() {console.log("FAIL);}
);
}

RC1
RC2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions