How to configure the Data Studio timeouts (session and execution)?
Data Studio timeouts are controlled by using the studio-server configuration properties. These are configured in the Data Studio server configuration (for example, application.yml or deployment values), and not as the MMG config.sh parameters.
Session timeout (recommended: set both relative and absolute)
Use both properties to enforce logout after inactivity and a maximum session duration.
Example:
studio-server:
security:
absolute-session-timeout-ms: 86400000 // 24 hours
session-timeout-ms: 3600000 // 1 hourBehavior:
The session expires after 1 hour of inactivity, or after 24 hours maximum (whichever occurs first).
Paragraph execution timeout (auto-cancel long-running paragraphs)
Example:
Note:
studio-server:
interpreter:
execution:
run-timeout: 24hSet the run-timeout to 0 to disable the timeout. If disabled, the paragraphs will run until completion or manual cancellation.
Synchronous run timeout (used for MMG pipeline executions)
Example:
studio-server:
rest:
code:
max-runtime-sync: 20mBehavior:
Synchronous code execution is timed out after 20 minutes.