1
0
mirror of https://github.com/discourse/discourse.git synced 2025-03-05 18:59:22 +00:00

Merge pull request from techAPJ/patch-1

set csv compression to optimal speed/size
This commit is contained in:
Jeff Atwood 2015-01-15 00:43:38 -08:00
commit 4cf4f1f252

@ -278,7 +278,7 @@ module Jobs
end
end
# compress CSV file
`gzip --best #{File.expand_path("#{UserExport.base_directory}/#{@file_name}", __FILE__)}`
`gzip -5 #{File.expand_path("#{UserExport.base_directory}/#{@file_name}", __FILE__)}`
end
def notify_user