mirror of
https://github.com/Sea-Haven-Industries/forgejo.git
synced 2026-10-05 12:41:56 +00:00
Add 4 GiB ephemeral storage to verification Lambda
Monthly restore-test downloads and extracts the full dump tarball in /tmp. As the dump grows with LFS data, the default 512 MB will eventually cause ENOSPC failures.
This commit is contained in:
parent
c9936b1d2b
commit
7aaf8340a5
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ export class BackupVerification extends Construct {
|
||||||
handler: "handler",
|
handler: "handler",
|
||||||
index: "app.py",
|
index: "app.py",
|
||||||
memorySize: 512,
|
memorySize: 512,
|
||||||
|
ephemeralStorageSize: cdk.Size.gibibytes(4),
|
||||||
timeout: cdk.Duration.minutes(5),
|
timeout: cdk.Duration.minutes(5),
|
||||||
environment: {
|
environment: {
|
||||||
SOURCE_BUCKET: props.sourceBucket.bucketName,
|
SOURCE_BUCKET: props.sourceBucket.bucketName,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue