mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 20:08:26 +00:00
workaround slow command line
This commit is contained in:
parent
3fc930526c
commit
70daf6ef2d
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user