openwhisk icon indicating copy to clipboard operation
openwhisk copied to clipboard

Remove limitation of 1MB code for JS-actions

Open cbickel opened this issue 10 years ago • 2 comments

https://github.com/openwhisk/openwhisk/blob/master/core/nodejsActionBase/app.js#L36

There's a limit, that prohibits actions that are greater than 1MB. Since we check the size of actions on creating them (and have a limit of 48MB) this limit is obsolete an can be removed.

cbickel avatar Aug 01 '16 09:08 cbickel

@ChrBi What this means that with the latest changes, a JS action can be created successfully larger than 1MB, but it will failed when the user tries to invoke it ?

Other languages don't this type of hardcoded limits?

csantanapr avatar Aug 01 '16 13:08 csantanapr

Patch in #1038.

rabbah avatar Aug 21 '16 00:08 rabbah