workaround slow command line

This commit is contained in:
Sam 2015-02-04 18:38:18 +11:00
parent 3fc930526c
commit 70daf6ef2d

View file

@ -7,7 +7,9 @@ class DiskSpace
end end
def self.uploads_free_bytes def self.uploads_free_bytes
free(uploads_path) # temporary (on our internal setup its just too slow)
Upload.sum(:filesize).to_i
# free(uploads_path)
end end
def self.backups_used_bytes def self.backups_used_bytes