Give more ram to openscad preview image container

Speeds up the preview images
This commit is contained in:
Kurt Hutten
2021-12-02 07:24:39 +11:00
parent 70d4c40eac
commit cef1d34c6f
2 changed files with 2 additions and 1 deletions

View File

@@ -70,6 +70,7 @@ functions:
method: post
cors: true
timeout: 25
memorySize: 2048
environment:
BUCKET: cad-preview-bucket-prod-001
openscadstl:

View File

@@ -5,7 +5,7 @@ import type { Camera } from 'src/helpers/hooks/useIdeState'
export const lambdaBaseURL =
process.env.CAD_LAMBDA_BASE_URL ||
'https://2inlbple1b.execute-api.us-east-1.amazonaws.com/prod2'
'https://oxt2p7ddgj.execute-api.us-east-1.amazonaws.com/prod'
export const stlToGeometry = (url) =>
new Promise((resolve, reject) => {