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

🐛 increase timeout window for completing file transfer #385

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

AndrewLuGit
Copy link
Contributor

Summary:

Increase the timeout window for completing file transfer for large files.

Motivation:

When uploading a cold package, the CLI currently times out while waiting for the file transfer to complete. This is because the brain only sends a response after it is finished writing the file to flash, which can take a long time (I have seen 6.6 second completion time). By scaling the timeout window with the upload file size, we can account for longer write times when uploading cold packages.

References (optional):

Test Plan:

  • upload large cold package (w/ lvgl and maybe some other template) and check that it doesn't time out on completion

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

Successfully merging this pull request may close these issues.

1 participant