Ross Coundon
01/17/2022, 2:49 PMRoss Coundon
01/17/2022, 2:53 PMAdam Fanello
01/17/2022, 4:19 PMRoss Coundon
01/17/2022, 4:31 PMAdam Fanello
01/17/2022, 4:37 PMRoss Coundon
01/17/2022, 4:42 PMRoss Gerbasi
01/17/2022, 5:13 PMRoss Gerbasi
01/17/2022, 5:13 PMthdxr
01/17/2022, 5:14 PMthdxr
01/17/2022, 5:15 PMRoss Coundon
01/17/2022, 5:16 PMRoss Coundon
01/17/2022, 5:16 PMRoss Gerbasi
01/17/2022, 5:16 PMapp.setDefaultFunctionProps({
environment: {
NODE_OPTIONS: '--enable-source-maps',
},
runtime: 'nodejs14.x',
})
Then in our API calls we are using user permissions to determine if a request should send back stack traces or just simple messagesRoss Coundon
01/17/2022, 5:16 PMRoss Gerbasi
01/17/2022, 5:16 PMRoss Gerbasi
01/17/2022, 5:16 PMRoss Gerbasi
01/17/2022, 5:17 PMthdxr
01/17/2022, 5:17 PM--enable-source-maps
is the thing that slows everything down. Both coldstarts + runtimeRoss Gerbasi
01/17/2022, 5:18 PMthdxr
01/17/2022, 5:18 PMRoss Gerbasi
01/17/2022, 5:18 PMthdxr
01/17/2022, 5:19 PMRoss Gerbasi
01/17/2022, 5:19 PMRoss Gerbasi
01/17/2022, 5:20 PMsource-map-support/register
instead?thdxr
01/17/2022, 5:20 PMthdxr
01/17/2022, 5:20 PMRoss Gerbasi
01/17/2022, 5:20 PMRoss Gerbasi
01/17/2022, 5:21 PMthdxr
01/17/2022, 5:21 PMRoss Gerbasi
01/17/2022, 5:21 PMAdam Fanello
01/17/2022, 5:22 PMRoss Gerbasi
01/17/2022, 5:22 PMAdam Fanello
01/17/2022, 5:24 PMAdam Fanello
01/17/2022, 5:49 PMthdxr
01/17/2022, 5:50 PMAdam Fanello
01/17/2022, 5:53 PMthdxr
01/17/2022, 5:55 PMRoss Gerbasi
01/17/2022, 5:56 PMAdam Fanello
01/17/2022, 5:56 PMthdxr
01/17/2022, 5:56 PMthdxr
01/17/2022, 5:57 PMAdam Fanello
01/17/2022, 5:58 PMthdxr
01/17/2022, 5:58 PMRoss Gerbasi
01/17/2022, 6:00 PMthdxr
01/17/2022, 6:00 PMboolean | external | both | inline
Ross Gerbasi
01/17/2022, 6:00 PMthdxr
01/17/2022, 6:00 PMtrue
=== linkedRoss Gerbasi
01/17/2022, 6:00 PMthdxr
01/17/2022, 6:00 PMthdxr
01/17/2022, 6:11 PMtrue
is linked
- ok I'm going to do a release and then re-run my tests to see if coldstarts are fixedthdxr
01/17/2022, 6:12 PMAdam Fanello
01/17/2022, 6:17 PMRoss Gerbasi
01/17/2022, 6:18 PM-alpha
a bunch of stuff but went pretty smoothlyRoss Coundon
01/17/2022, 7:16 PMthdxr
01/17/2022, 7:24 PMRoss Gerbasi
01/20/2022, 5:59 PMimport 'source-map-support/register'
over
environment: {
NODE_OPTIONS: '--enable-source-maps',
},
thdxr
01/20/2022, 6:00 PMthdxr
01/20/2022, 6:00 PMthdxr
01/20/2022, 6:00 PMRoss Gerbasi
01/20/2022, 6:01 PMthdxr
01/20/2022, 6:01 PMRoss Gerbasi
01/20/2022, 6:01 PM