-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #280 from Genez-io/dev
Release
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -284,6 +284,31 @@ If scripts are declared in the `scripts` field, they will be executed from this | |
|
||
The cron string that specifies how frequently the method should be called. Check the cron string format on https://crontab.guru/. | ||
|
||
- timeout: `number` **Optional** | ||
|
||
Specifies how long a request should wait for a response, in seconds. Default 30. [Pro Subscription](https://app.genez.io/billing) is required to change this configuration. | ||
|
||
- storageSize: `number` **Optional** | ||
|
||
If this parameter is set, the execution environment will mount a storage disk with the specified size. The storage is not persistent across requests. Pro Subscription is required to change this configuration. | ||
|
||
- instanceSize: `tiny` | `medium` | `large` **Optional** | ||
|
||
Determines the amount of RAM allocated to the execution environment. Default `tiny`. [Pro Subscription](https://app.genez.io/billing) is required to change this configuration. | ||
|
||
tiny = 256MB RAM, 1 VCPU | ||
|
||
medium = 384MB RAM, 1 VCPU | ||
|
||
large = 512MB RAM, 1 VCPU | ||
|
||
For larger instance sizes, [contact us](mailto:[email protected]). | ||
|
||
- maxConcurrentRequestsPerInstance: `number` **Optional** | ||
|
||
Specifies the number of concurrent requests that can be served simultaneously by an execution environment. Default 10. [Pro Subscription](https://app.genez.io/billing) is required to change this configuration. | ||
|
||
|
||
#### `environment`: `Object` **Optional** | ||
|
||
The environment variables that will be set for the backend. | ||
|
@@ -374,6 +399,30 @@ This resource exposes `url` as an output expression: `${{backend.functions.<func | |
|
||
The type of the function. The default value is `aws`. | ||
|
||
- timeout: `number` **Optional** | ||
|
||
Specifies how long a request should wait for a response, in seconds. Default 30. [Pro Subscription](https://app.genez.io/billing) is required to change this configuration. | ||
|
||
- storageSize: `number` **Optional** | ||
|
||
If this parameter is set, the execution environment will mount a storage disk with the specified size. The storage is not persistent across requests. [Pro Subscription](https://app.genez.io/billing) is required to change this configuration. | ||
|
||
- instanceSize: `tiny` | `medium` | `large` **Optional** | ||
|
||
Determines the amount of RAM allocated to the execution environment. Default `tiny`. [Pro Subscription](https://app.genez.io/billing) is required to change this configuration. | ||
|
||
tiny = 256MB RAM, 1 VCPU | ||
|
||
medium = 384MB RAM, 1 VCPU | ||
|
||
large = 512MB RAM, 1 VCPU | ||
|
||
For larger instance sizes, [contact us](mailto:[email protected]). | ||
|
||
- maxConcurrentRequestsPerInstance: `number` **Optional** | ||
|
||
Specifies the number of concurrent requests that can be served simultaneously by an execution environment. Default 10. [Pro Subscription](https://app.genez.io/billing) is required to change this configuration. | ||
|
||
### Backend with `functions` deployment | ||
|
||
```yaml title="genezio.yaml | ||
|