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

Default maximum file size? #74

Closed
cuthbeorht opened this issue Nov 15, 2016 · 3 comments
Closed

Default maximum file size? #74

cuthbeorht opened this issue Nov 15, 2016 · 3 comments

Comments

@cuthbeorht
Copy link

Hi All,

I'm sorry if this is a noob question, but I can't find the default maximum file upload size for Tusd. I am not versed in Go so am unable to understand the flow of the binary.

Can someone help? Thanks!

@Acconut
Copy link
Member

Acconut commented Nov 15, 2016

There are no silly questions, my dear! The default value for the --max-size flag is 0 (see https://github.com/tus/tusd/blob/master/cmd/tusd/cli/flags.go#L29). A value of zero, in this case, means that no upper limit for the upload size will be placed and any file, regardless of its size, will be accepted.

@cuthbeorht
Copy link
Author

Thank you for answering and taking the time. That's all I needed. Have a good one!

@Acconut
Copy link
Member

Acconut commented Nov 15, 2016

No problem :)

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

2 participants