From f6ef5f3cf7da33e8322c925367af4f754e9c9a9f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 13 Dec 2018 18:48:23 +0530 Subject: [PATCH] Fix crash when compressing mathjax on CI servers --- setup/mathjax.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/mathjax.py b/setup/mathjax.py index 23f28dcbd2..04997d8aab 100644 --- a/setup/mathjax.py +++ b/setup/mathjax.py @@ -71,7 +71,7 @@ class MathJax(Command): zf.comment = self.h.hexdigest() t.seek(0) with open(self.j(self.RESOURCES, 'content-server', 'mathjax.zip.xz'), 'wb') as f: - compress(t, f, level=1 if is_ci else 9) + compress(t, f, level=4 if is_ci else 9) with open(self.j(self.RESOURCES, 'content-server', 'mathjax.version'), 'wb') as f: f.write(zf.comment) finally: