|
2 | 2 |
|
3 | 3 | When creating actions or debugging issues, it is important to know the system settings and limitations. Here are the ones you should consider when designing your actions. |
4 | 4 |
|
5 | | -| Limit | Description | Configurable | Default | Range | |
6 | | -|---|---| --- |-----------------| --- | |
7 | | -| timeout | A container is not allowed to run longer than N milliseconds. Blocking calls (like web actions) can't run longer than 60,000 milliseconds (1 minute). Non-blocking calls can run up to 3,600,000 milliseconds | per action | 60,000 milliseconds | 100ms - 3,600,000ms | |
8 | | -| memory | A container is not allowed to allocate more than N MB of memory | per action | 256MB | 128MB - 4096MB | |
9 | | -| minuteRate (actions)| no more than N actions may be invoked per namespace per minute. If exceeded, the error is `429: TOO MANY REQUESTS` | not configurable, per namespace | 600/minute | 600/minute | |
10 | | -| minuteRate (web actions with extra logging)| no more than N web actions may be invoked with the header `X-OW_EXTRA-LOGGING: on` per namespace per minute. If exceeded, the error is `429: TOO MANY REQUESTS` | not configurable, per namespace | 30/minute | 30/minute | |
11 | | -| logs | A container is not allowed to write more than N MB to stdout | per action | 10MB | 0MB - 10MB | |
12 | | -| concurrent | No more than N activations may be submitted per namespace either executing or queued for execution. If exceeded, the error is `429: TOO MANY REQUESTS` | Not configurable, per namespace | 100 | 100 | |
13 | | -| action/container concurrency | The number of action invocations send to the same container in parallel | per action | 200 |1 - 500 | |
14 | | -| codeSize | The maximum size of the action including dependencies, archived | not configurable, per action | 22MB | 0MB - 22MB | |
15 | | -| parameters | The maximum size of the parameters that can be attached | not configurable, per action/package/trigger | 1MB | 0 - 1MB | |
16 | | -| payload | The maximum POST content size plus any carried parameters for an action invocation or trigger firing | not configurable, per action/trigger | 1MB | 0 - 1MB | |
17 | | -| result | The maximum size of the action result | not configurable, per action | 1MB | | |
18 | | -| minuteRate (triggers) | No more than N triggers may be fired per namespace per minute. If exceeded, the error is `429: TOO MANY REQUESTS` | not configurable, per namespace | 600/minute | 600/minute | |
19 | | -| actionsSequenceMaxlength | No more than N actions can be chained in a sequence | not configurable, per namespace | 50 | 50 | |
20 | | -| list | The maximum number of entities that can be listed | per list request | 30 | 1 - 50 | |
21 | | -| local storage | Local storage available for action | not configurable | 600MB || |
| 5 | +| Limit | Description | Configurable | Default | Range | |
| 6 | +|---|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| --- |-----------------| --- | |
| 7 | +| timeout | A container is not allowed to run longer than N milliseconds. Blocking calls (like web actions) can't run longer than 60,000 milliseconds (1 minute). Non-blocking calls can run up to 10,800,000 milliseconds (3 hours) | per action | 60,000 milliseconds | 100ms - 10,800,000ms | |
| 8 | +| memory | A container is not allowed to allocate more than N MB of memory | per action | 256MB | 128MB - 4096MB | |
| 9 | +| minuteRate (actions)| no more than N actions may be invoked per namespace per minute. If exceeded, the error is `429: TOO MANY REQUESTS` | not configurable, per namespace | 600/minute | 600/minute | |
| 10 | +| minuteRate (web actions with extra logging)| no more than N web actions may be invoked with the header `X-OW_EXTRA-LOGGING: on` per namespace per minute. If exceeded, the error is `429: TOO MANY REQUESTS` | not configurable, per namespace | 30/minute | 30/minute | |
| 11 | +| logs | A container is not allowed to write more than N MB to stdout | per action | 10MB | 0MB - 10MB | |
| 12 | +| concurrent | No more than N activations may be submitted per namespace either executing or queued for execution. If exceeded, the error is `429: TOO MANY REQUESTS` | Not configurable, per namespace | 100 | 100 | |
| 13 | +| action/container concurrency | The number of action invocations send to the same container in parallel | per action | 200 |1 - 500 | |
| 14 | +| codeSize | The maximum size of the action including dependencies, archived | not configurable, per action | 22MB | 0MB - 22MB | |
| 15 | +| parameters | The maximum size of the parameters that can be attached | not configurable, per action/package/trigger | 1MB | 0 - 1MB | |
| 16 | +| payload | The maximum POST content size plus any carried parameters for an action invocation or trigger firing | not configurable, per action/trigger | 1MB | 0 - 1MB | |
| 17 | +| result | The maximum size of the action result | not configurable, per action | 1MB | | |
| 18 | +| minuteRate (triggers) | No more than N triggers may be fired per namespace per minute. If exceeded, the error is `429: TOO MANY REQUESTS` | not configurable, per namespace | 600/minute | 600/minute | |
| 19 | +| actionsSequenceMaxlength | No more than N actions can be chained in a sequence | not configurable, per namespace | 50 | 50 | |
| 20 | +| list | The maximum number of entities that can be listed | per list request | 30 | 1 - 50 | |
| 21 | +| local storage | Local storage available for action | not configurable | 600MB || |
22 | 22 |
|
23 | 23 | ## Sequences and Timeout |
24 | 24 |
|
|
0 commit comments