Forum Discussion
3 years ago
2 hours ago, mnagel said:Since it could take a while for LM to make a change (in my experience), you might want to adjust your code to deal with this. I am thinking something like check the current minute and return the last result if minute/10 != 0. Getting the last result could perhaps use the LM script cache (https://www.logicmonitor.com/support/collectors/collector-configurations/collector-script-caching).
Interesting , didn't realise that there was this feature. Will do some looking into that.
I suppose it may make some of the other metadata around the check (like response time not very accurate), as the 'cache hit' path would have fantastic response time ?
Related Content
- 5 months ago