diff --git a/tempsdb/chunks/gzip.pyx b/tempsdb/chunks/gzip.pyx index c76d10bf4288b7e4979986b86707ca0f02d60470..291fca8b9ace2fc1e4d921e65a83cc6943f20df6 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)