forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix import dashboards when ulimit -n is low
The unzip routine was deferring close functions in a loop, so it kept each file open. This adds a closure so the files are closed immediately. Fixes elastic#4244. This also improves the error handling to always report the original error.
- Loading branch information
Tudor Golubenco
committed
May 8, 2017
1 parent
14396f4
commit ee7aee0
Showing
2 changed files
with
18 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters