From f64af6a67f8ad9dab6c1c216b08ebeab1e69653c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Wed, 30 Jun 2021 18:30:45 +0200 Subject: [PATCH] fix gzip --- tempsdb/chunks/gzip.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tempsdb/chunks/gzip.pyx b/tempsdb/chunks/gzip.pyx index c76d10b..291fca8 100644 --- a/tempsdb/chunks/gzip.pyx +++ b/tempsdb/chunks/gzip.pyx @@ -3,7 +3,7 @@ import threading cdef class ReadWriteGzipFile: - def __init__(self, str path, int compresslevel = gzip._COMPRESS_LEVEL_FAST): + def __init__(self, str path, int compresslevel = 1): self.path = path self.compress_level = compresslevel self.rw_file = gzip.GzipFile(path, 'ab', compresslevel=self.compress_level) -- GitLab