Skip to content

Commit

Permalink
Stoppin' disk stats goin' to deep 😏
Browse files Browse the repository at this point in the history
  • Loading branch information
BobbyWibowo committed Sep 10, 2019
1 parent 3fcf5a9 commit 2251f7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/utilsController.js
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,7 @@ self.stats = async (req, res, next) => {
'--apparent-size',
'--block-size=1',
'--dereference',
'--max-depth=1',
'--separate-dirs',
paths.uploads
])
Expand Down

1 comment on commit 2251f7b

@BobbyWibowo
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reeee, now this won't count size from sub-sub-dirs

Oh well, whatever. I'll give this more attention at a later date..

Please sign in to comment.