Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

'Too many open files' error #25

Closed
ljvmiranda921 opened this issue Apr 13, 2019 · 0 comments
Closed

'Too many open files' error #25

ljvmiranda921 opened this issue Apr 13, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ljvmiranda921
Copy link
Contributor

Happens when doing a batch download of multipe files

error

@ljvmiranda921 ljvmiranda921 added the bug Something isn't working label Apr 13, 2019
@ljvmiranda921 ljvmiranda921 self-assigned this Apr 13, 2019
ljvmiranda921 added a commit that referenced this issue Apr 13, 2019
It's just a matter of `defer` placement. The file is not being closed
when too many operations are being done. It's better to call the defer
function right away after opening or creating the file.

Signed-off-by: Lester James V. Miranda <lj@thinkingmachin.es>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant