1) Give a description of the problem
I have a face recognition program that sends a webhook when it sees a face it recognizes. The problem is this happens many times so it sends multiple requests to webcore. I have it set that it will only recognize the event when it happens after the last event plus 5 minutes…however webcore keeps scheduling events to happen right after that time.
2) What is the expected behaviour?
I want it to ignore all requests until after the 5 minutes when a new request comes.
**4) Post a Green Snapshot of the piston![image|45x37]
5) Attach logs after turning logging level to Full
2/5/2021, 3:47:45 PM +184ms
+1ms ╔Received event [Home].time = 1612558064854 with a delay of 328ms
+1246ms ║RunTime Analysis CS > 1155ms > PS > 26ms > PE > 66ms > CE
+1249ms ║Runtime (39255 bytes) successfully initialized in 26ms (v0.3.10b.20190514) (1244ms)
+1250ms ║╔Execution stage started
+1289ms ║║Comparison (datetime) 1612558066467 is_after (datetime) 1612558064854 = true (3ms)
+1290ms ║║Time restriction check passed
+1292ms ║║Cancelling condition #7’s schedules…
+1293ms ║║Condition #7 evaluated true (11ms)
+1303ms ║║Cancelling statement #7’s schedules…
+1308ms ║║Cancelling condition #1’s schedules…
+1309ms ║║Condition group #1 evaluated true (state changed) (27ms)
+1311ms ║║Cancelling statement #2’s schedules…
+1331ms ║║Executed virtual command setVariable (2ms)
+1334ms ║║Cancelling statement #4’s schedules…
+1341ms ║║Do whatever else…
+1342ms ║║Executed virtual command log (1ms)
+1353ms ║║Comparison (enum) closed is (string) open = false (2ms)
+1354ms ║║Condition #17 evaluated false (9ms)
+1355ms ║║Condition group #8 evaluated false (state did not change) (10ms)
+1358ms ║║Cancelling statement #19’s schedules…
+1393ms ║║Executed physical command [Office Person Detection].on() (29ms)
+1394ms ║║Executed [Office Person Detection].on (31ms)
+1459ms ║║Comparison (datetime) 1612558066638 is_after (datetime) 1612558366508 = false (3ms)
+1461ms ║║Cancelling condition #7’s schedules…
+1462ms ║║Condition #7 evaluated false (8ms)
+1463ms ║║Cancelling statement #7’s schedules…
+1467ms ║║Requesting time schedule wake up at Fri, Feb 5 2021 @ 3:52:46 PM EST
+1478ms ║║Cancelling condition #1’s schedules…
+1479ms ║║Condition group #1 evaluated false (state changed) (26ms)
+1485ms ║║Comparison (datetime) 1612558066665 is_before (datetime) 1612558366508 = true (3ms)
+1486ms ║║Time restriction check passed
+1487ms ║║Condition #11 evaluated true (6ms)
+1494ms ║║Cancelling statement #11’s schedules…
+1497ms ║║Requesting time schedule wake up at Fri, Feb 5 2021 @ 3:52:46 PM EST
+1499ms ║║Condition group #10 evaluated true (state did not change) (19ms)
+1501ms ║╚Execution stage complete. (252ms)
+1512ms ║Setting up scheduled job for Fri, Feb 5 2021 @ 3:52:46 PM EST (in 299.813s), with 1 more job pending
+1519ms ╚Event processed successfully (1519ms)