Skip to content

[leo_gateway][nfs] Uploading a big file may take too long #537

Closed
@mocchira

Description

It turned out that
The more large size, the more head requests a leo_gateway issues to leo_storage(s).
The below code may cause this problem in case handling a very large file.
https://github.com/leo-project/leo_gateway/blob/1.3.0/src/leo_nfs_file_handler.erl#L456-L479

This can be solved decreasing the number of requests to leo_storage(s).
In order to realise the above requirement, we need to come up with another implementation to calculate the total file size after updating.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions