Hi Team,
I'm working on updating a service that manages 20 or more elements, so that whenever a new monitoring parameter is added, it's applied to each element on the service on an iteration.
Below code is used for updating the service, by creating new ServiceInfoParams
var addServiceMessage = new AddServiceMessage
{
DataMinerID = _serviceInfo.DataMinerID,
HostingDataMinerID = _serviceInfo.HostingAgentID,
Service = _serviceInfo,
};
engine.SendSLNetSingleResponseMessage(addServiceMessage);
This process is taking longer time to execute, so tried adding thread but thread is executing only for the first parameter. Is there a way to reduce the execution time for updating service
Hi Hari,
That seems to be the correct way, let's investigate via our technical support team to see why this is taking a longer time to execute.
No action needed from you at this point, I'll get in touch with our technical support myself and put you in CC. This way you can still follow up in detail.