relationalai.api.alter_reasoner_auto_suspend_mins()
alter_reasoner_auto_suspend_mins(type STRING, name STRING, auto_suspend_mins INT)A procedure that changes the auto-suspend inactivity window for a reasoner.
Requires the eng_admin application role.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
type | STRING | Reasoner type. Valid values: 'logic', 'prescriptive', 'predictive'. Case-insensitive. |
name | STRING | Reasoner name (case-sensitive). |
auto_suspend_mins | INT | Minutes of inactivity before the reasoner suspends. Use 0 to disable auto-suspension. |
Returns
Section titled “Returns”STRING — Returns Success on completion.
Example
Section titled “Example”Set a logic reasoner to auto-suspend after 30 minutes:
CALL relationalai.api.alter_reasoner_auto_suspend_mins('logic', 'my_reasoner', 30);