Skip to content

Commit e407a70

Browse files
authored
Merge pull request mendix#11049 from mendix/MvM-AfterStartupTimeout
Update after startup timeout information
2 parents 1c4dfc8 + 723d345 commit e407a70

2 files changed

Lines changed: 15 additions & 4 deletions

File tree

  • content/en/docs
    • deployment/private-cloud/private-cloud-cluster
    • refguide/modeling/app-explorer/app/app-settings

content/en/docs/deployment/private-cloud/private-cloud-cluster/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ Starting from Mendix Operator 2.23.0, environments running in `leaderless` mode
549549
When another **runtimeLeaderSelection** mode is used (default, unspecified `assigned` mode, or `none`), the healthcheck microflow is used, as described above.
550550
{{% /alert %}}
551551

552-
#### Customize Liveness Probe to Resolve Crash Loopback Scenarios
552+
#### Customize Liveness Probe to Resolve Crash Loopback Scenarios{#customize-liveness}
553553

554554
The `liveness probe` informs the cluster whether the pod is dead or alive. If the pod fails to respond to the liveness probe, the pod will be restarted (this is called a `crash loopback`).
555555

content/en/docs/refguide/modeling/app-explorer/app/app-settings/runtime-tab.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ This setting was introduced in Mendix 11.6.3.
4040

4141
If this option is enabled, Web (both React and Dojo) and Native Mobile clients will be able to handle both `empty` and empty string `''` values for `String` attributes. <br>
4242

43-
If this options is disabled, `String` attribute values on the client-side will always contain only the `''` value to represent empty state. `empty` values will be automatically converted to `''` when transfered to the client-side.
43+
If this options is disabled, `String` attribute values on the client-side will always contain only the `''` value to represent empty state. `empty` values will be automatically converted to `''` when transferred to the client-side.
4444

4545
For a detailed explanation, see the *Empty Strings Handling* section of [Upgrading from Mendix Studio Pro 10 to 11](/refguide/upgrading-from-10-to-11/#empty-strings-handling).
4646

@@ -89,9 +89,20 @@ Applications deployed to the cloud will use this setting to select which Java ve
8989
You can select a microflow that is automatically run immediately after the application has been started up.
9090

9191
{{% alert color="warning" %}}
92-
There is a timeout of 11 minutes on the after startup microflow. If your after startup microflow takes longer than 11 minutes, your whole app will fail to start.
93-
9492
After startup is designed to initialize the app and therefore runs before the app is able to respond to incoming service requests (for example, published REST services).
93+
94+
There is a timeout set on the after startup microflow. If your after startup microflow exceeds this, your whole app will fail to start. This applies to all instances of a multi-instance app—if one instance times out then the whole app will not start.
95+
96+
The duration of the timeout will depend on the environment you are deploying to. The table below lists the timeouts for common deployment options.
97+
98+
| Deployment Target | Timeout | Comment |
99+
| --- | ---: | --- |
100+
| Mendix Cloud | 15 minutes | This can be changed¹—discuss with [support](https://support.mendix.com/) |
101+
| Cloud Foundry | 11 minutes | Also for older Mendix versions running on Mendix Cloud |
102+
| Mendix on Kubernetes | Configurable | See [Customize Liveness Probe](/developerportal/deploy/private-cloud-cluster/#customize-liveness) for more information
103+
| SAP BTP | 60 seconds | This is [configurable](/developerportal/deploy/sap-cloud-platform/#DeployPackage) |
104+
105+
¹ If your after startup microflow is timing out, reassess what it is doing. Extending the timeout is not usually the best solution.
95106
{{% /alert %}}
96107

97108
### Before Shutdown

0 commit comments

Comments
 (0)