Skip to content

Commit

Permalink
Merge pull request #280 from Genez-io/dev
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
vladiulianbogdan authored Dec 5, 2024
2 parents be09a2a + 2577d08 commit 3469b0d
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions docs/project-structure/genezio-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3469b0d

Please sign in to comment.