emqx/apps/emqx_rule_engine/test
Kjell Winblad 05032467bd feat(rule_engine): default timeout for jq/2 and jq/3 with timeout
This commit adds a default timeout of 10 seconds to the rule engine's
`jq/2` function, and adds a new function `jq/3` (where the last parameter is
a timeout value). The default timeout can be configured with the setting
"rule_engine.jq_function_default_timeout".

Having a timeout when executing jq code in the rule engine is important
as jq code can potentially run forever. Also, the Erlang jq library
limits the number of jq programs that can execute concurrently so a jq
program that loops forever could potentially also prevent a "non-buggy"
jq program from ever starting.
2022-05-17 19:36:32 +02:00
..
emqx_rule_engine_SUITE.erl feat(rule_engine): add jq function to the rule engine 2022-05-04 17:09:16 +02:00
emqx_rule_engine_api_SUITE.erl fix(test): rule engine api SUITE , bad rule name 2022-05-12 18:01:37 +08:00
emqx_rule_events_SUITE.erl style: reformat all remaining apps 2022-04-27 15:51:18 +02:00
emqx_rule_funcs_SUITE.erl feat(rule_engine): default timeout for jq/2 and jq/3 with timeout 2022-05-17 19:36:32 +02:00
emqx_rule_maps_SUITE.erl style: reformat all remaining apps 2022-04-27 15:51:18 +02:00
prop_rule_maps.erl style: reformat all remaining apps 2022-04-27 15:51:18 +02:00