Skip to content

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.

NameTypeDescription
typeSTRINGReasoner type. Valid values: 'logic', 'prescriptive', 'predictive'. Case-insensitive.
nameSTRINGReasoner name (case-sensitive).
auto_suspend_minsINTMinutes of inactivity before the reasoner suspends. Use 0 to disable auto-suspension.

STRING — Returns Success on completion.

Set a logic reasoner to auto-suspend after 30 minutes:

CALL relationalai.api.alter_reasoner_auto_suspend_mins('logic', 'my_reasoner', 30);