Skip to content
Permalink
Browse files

Stoppin' disk stats goin' to deep 😏

  • Loading branch information...
BobbyWibowo committed Sep 10, 2019
1 parent 3fcf5a9 commit 2251f7b154bf3a520c55ba0e81a7dfe2c1e86f3a
Showing with 1 addition and 0 deletions.
  1. +1 βˆ’0 controllers/utilsController.js
@@ -571,6 +571,7 @@ self.stats = async (req, res, next) => {
'--apparent-size',
'--block-size=1',
'--dereference',
'--max-depth=1',
'--separate-dirs',
paths.uploads
])

1 comment on commit 2251f7b

@BobbyWibowo

This comment has been minimized.

Copy link
Owner Author

commented on 2251f7b Sep 10, 2019

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.
You can’t perform that action at this time.