We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When configurating an action memory limit in app.config.yaml as such :
app.config.yaml
application: actions: actions web: web-src runtimeManifest: packages: mypackage: actions: myactions: function: actions/myaction.js runtime: 'nodejs:14' limits: memory: 512
The memory limit is not taken into account and the default of 256 is being used.
The memory limit from app.config.yaml should be used.
All platform, aio-cli:8.3.0, @adobe/aio-cli-plugin-runtime:5.4.0 and @adobe/aio-lib-runtime:4.0.0
aio-cli:8.3.0
@adobe/aio-cli-plugin-runtime:5.4.0
@adobe/aio-lib-runtime:4.0.0
The problem seems to be here
aio-lib-runtime/src/utils.js
Line 1014 in b39247d
The documentation one two states everywhere we should be using memory when the code uses memorySize.
memory
memorySize
The text was updated successfully, but these errors were encountered:
This behaviour was found by a customer and reported here : https://experienceleaguecommunities.adobe.com/t5/project-firefly-questions/can-t-change-action-memory-limit/td-p/454197
Sorry, something went wrong.
No branches or pull requests
Expected Behaviour
When configurating an action memory limit in
app.config.yaml
as such :The memory limit is not taken into account and the default of 256 is being used.
Actual Behaviour
The memory limit from
app.config.yaml
should be used.Platform and Version
All platform,
aio-cli:8.3.0
,@adobe/aio-cli-plugin-runtime:5.4.0
and@adobe/aio-lib-runtime:4.0.0
Sample Code that illustrates the problem
The problem seems to be here
aio-lib-runtime/src/utils.js
Line 1014 in b39247d
The documentation one two states everywhere we should be using
memory
when the code usesmemorySize
.The text was updated successfully, but these errors were encountered: