Skip to content
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

Documenting the behavior of the upload_file function #40

Open
gemblerz opened this issue Feb 26, 2024 · 0 comments
Open

Documenting the behavior of the upload_file function #40

gemblerz opened this issue Feb 26, 2024 · 0 comments
Assignees

Comments

@gemblerz
Copy link
Contributor

plugin.upload_file() uploads user-specified files to cloud. It is unclear how this works in user application container. We will need to describe the behavior of the function so that users know what to expect from this function.

One question raised on this topic was "I am sending files (~200MB) using the function. When is safe for the application to exit, and the system terminates the application container?" The answer is that the upload_file function copies the file to a permanent storage before returning. So, it is safe to terminate user application after the function returns.

I suggest adding a bit of information about this behavior in the doc.

@gemblerz gemblerz self-assigned this Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant