Setting a timeout on your Protect invocations

You can set a timeout on your Protect invocations to ensure that your Protect checks don’t add excessive wait times for your users. If a metric exceeds the timeout , any Rule and Ruleset that require it also time out and will not trigger.

To configure your timeout setting, set the timeout param when calling invoke:

galileo_protect.invoke(payload=...,
                       prioritized_rulesets=...,
                       stage_id=...,
                       timeout=300.0)