Closed (fixed)
Project:
Monitoring
Version:
8.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 May 2018 at 08:57 UTC
Updated:
21 Jul 2026 at 22:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dmitrii commentedComment #4
dmitrii commenteduse old array syntax
Comment #5
dmitrii commentedComment #7
dmitrii commentedfix parameter order for `watchdog`
Comment #8
berdirthe index already existing check can be verified first, then you don't need that catch. also imho it is very unlikely to fail when checking that we and we could just leave the try/catch out.. update process catches every exception and reports them, I never do that in my own update functions.
Comment #9
dmitrii commented@Berdir addressed. Thanks!
Comment #12
berdirComment #13
berdirRediscovered this on D8 as well, but just timestamp isn't enough, needs an index with sensor name as well.
This drops the cost of monitoring_sensor_result_last() from 1.4s to 50ms for me on 11.3 and 11.4 will hopefully improve it further with improved entity queries.
Comment #15
berdirComment #16
berdirMerged.