mirror of
https://github.com/floci-io/floci.git
synced 2026-12-04 18:48:00 -05:00
* fix(lambdaweb): let heap flags in NODE_OPTIONS replace the defaults as AWS does AWS drops both of its heap flags when NODE_OPTIONS names --max-old-space-size or --max-semi-space-size, and puts those on the command line in their place. Floci kept its own flags, so a larger heap set in NODE_OPTIONS lost to --max-old-space-size=1024. * test(lambdaweb): copy a quoted heap value from NODE_OPTIONS as AWS does AWS puts --max-old-space-size="1536" on the node command line with its quotes. Node refuses that value, so the start fails with Runtime.ExitError. * docs(lambdaweb): put the NODE_OPTIONS sentences after the require.main one * test(lambdaweb): share the default heap flags in the NODE_OPTIONS tests