# Engine timeout

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

Configuration property | Default setting | Description
--- | --- | ---
`engine.execution.timeout` | `600` | The length of time, in seconds, that the TERR service allows the TERR 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 TERR service allows the TERR engine session to exist before killing it. To disable session pruning, set this value to `-1`.