Spotfire Service for Python Installation and Administration

Engine timeout

You can specify the length of time a Python engine runs to complete a task before failing with a timeout error. You can also specify the length of time for a Python session to exist.

Configuration property Default setting Description
engine.execution.timeout 600 The length of time, in seconds, that the Spotfire Service for Python allows the Python engine to execute a request before stopping the execution with a timeout error.
engine.session.maxtime 1800 The length of time, in seconds, that the Spotfire Service for Python allows the Python engine session to exist before killing it.

To disable session pruning, set this value to -1.