mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-17 12:11:16 -05:00
set csv compression to optimal speed/size
This commit is contained in:
parent
655dd66884
commit
5039213840
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue