-
Notifications
You must be signed in to change notification settings - Fork 4
Feat: v3 support #22
New issue
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
Feat: v3 support #22
Conversation
| ->param('runtimeId', '', new Text(64), 'The runtimeID to execute.') | ||
| ->param('payload', '', new Text(8192), 'Data to be forwarded to the function, this is user specified.', true) | ||
| ->param('variables', [], new Assoc(), 'Environment variables passed into runtime.', true) | ||
| ->param('body', '', new Text(20971520), 'Data to be forwarded to the function, this is user specified.', true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on what basis is this limit set? what if the payload exceeds this size? For example when uploading a file in chunks ? Can we make sure it accepts 5MB ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should support up to 20MB, which is limit that we consider reasonable even in Appwrite.
5MB chunk uploads should work just fine. Trying to upload 30MB file at once will fail.
| ], | ||
| [ | ||
| 'image' => 'openruntimes/node:v2-18.0', | ||
| 'image' => 'openruntimes/node:v3-18.0', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that we have both v3 and v2 images, does the warm up task in the beginning also pull the v3 images?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only v3 images. v2 are no longer pulled.
christyjacob4
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Please address the comments
Adds support for communication with both
v2andv3of Open Runtime.