Skip to content

Commit

Permalink
Reduce compression level
Browse files Browse the repository at this point in the history
  • Loading branch information
bennybp committed Jan 13, 2024
1 parent 15e5129 commit f5f08b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qcportal/qcportal/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

def compress_for_cache(data: Any) -> sqlite3.Binary:
serialized_data = serialize(data, "msgpack")
compressed_data = zstandard.compress(serialized_data, level=4)
compressed_data = zstandard.compress(serialized_data, level=1)
return sqlite3.Binary(compressed_data)


Expand Down

0 comments on commit f5f08b4

Please sign in to comment.