Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cli/cmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ var (
_warningProjectBytes = 1024 * 1024 * 10
_warningFileCount = 1000

_maxFileSizeBytes int64 = 1024 * 1024 * 512
_maxProjectSizeBytes int64 = 1024 * 1024 * 512
_maxFileSizeBytes int64 = 1024 * 1024 * 32 // 32mb
_maxProjectSizeBytes int64 = 1024 * 1024 * 32 // 32mb

_flagDeployEnv string
_flagDeployForce bool
Expand Down
3 changes: 1 addition & 2 deletions docs/workloads/async/handler.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ and the api configuration file (e.g. `cortex.yaml`) are excluded.

The following files can also be added at the root of the project's directory:

* `.cortexignore` file, which follows the same syntax and behavior as
a [.gitignore file](https://git-scm.com/docs/gitignore).
* `.cortexignore` file, which follows the same syntax and behavior as a [.gitignore file](https://git-scm.com/docs/gitignore). This may be necessary if you are reaching the size limit for your project directory (32mb).
* `.env` file, which exports environment variables that can be used in the handler. Each line of this file must follow
the `VARIABLE=value` format.

Expand Down
2 changes: 1 addition & 1 deletion docs/workloads/batch/handler.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Cortex makes all files in the project directory (i.e. the directory which contai

The following files can also be added at the root of the project's directory:

* `.cortexignore` file, which follows the same syntax and behavior as a [.gitignore file](https://git-scm.com/docs/gitignore).
* `.cortexignore` file, which follows the same syntax and behavior as a [.gitignore file](https://git-scm.com/docs/gitignore). This may be necessary if you are reaching the size limit for your project directory (32mb).
* `.env` file, which exports environment variables that can be used in the handler class. Each line of this file must follow the `VARIABLE=value` format.

For example, if your directory looks like this:
Expand Down
2 changes: 1 addition & 1 deletion docs/workloads/realtime/handler.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Cortex makes all files in the project directory (i.e. the directory which contai

The following files can also be added at the root of the project's directory:

* `.cortexignore` file, which follows the same syntax and behavior as a [.gitignore file](https://git-scm.com/docs/gitignore).
* `.cortexignore` file, which follows the same syntax and behavior as a [.gitignore file](https://git-scm.com/docs/gitignore). This may be necessary if you are reaching the size limit for your project directory (32mb).
* `.env` file, which exports environment variables that can be used in the handler. Each line of this file must follow the `VARIABLE=value` format.

For example, if your directory looks like this:
Expand Down
2 changes: 1 addition & 1 deletion docs/workloads/task/definitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Cortex makes all files in the project directory (i.e. the directory which contai

The following files can also be added at the root of the project's directory:

* `.cortexignore` file, which follows the same syntax and behavior as a [.gitignore file](https://git-scm.com/docs/gitignore).
* `.cortexignore` file, which follows the same syntax and behavior as a [.gitignore file](https://git-scm.com/docs/gitignore). This may be necessary if you are reaching the size limit for your project directory (32mb).
* `.env` file, which exports environment variables that can be used in the task. Each line of this file must follow the `VARIABLE=value` format.

For example, if your directory looks like this:
Expand Down