mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
workaround slow command line
This commit is contained in:
parent
3fc930526c
commit
70daf6ef2d
1 changed files with 3 additions and 1 deletions
|
@ -7,7 +7,9 @@ class DiskSpace
|
|||
end
|
||||
|
||||
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
|
||||
|
||||
def self.backups_used_bytes
|
||||
|
|
Loading…
Reference in a new issue