use a more reasonable compression level
parent
c71505fd9a
commit
3655976223
|
@ -135,7 +135,7 @@ static void fullscrape_make( int *iovec_entries, struct iovec **iovector, ot_tas
|
|||
strm.next_in = (uint8_t*)compress_buffer;
|
||||
strm.next_out = (uint8_t*)r;
|
||||
strm.avail_out = OT_SCRAPE_CHUNK_SIZE;
|
||||
if( deflateInit2(&strm,9,Z_DEFLATED,31,8,Z_DEFAULT_STRATEGY) != Z_OK )
|
||||
if( deflateInit2(&strm,7,Z_DEFLATED,31,8,Z_DEFAULT_STRATEGY) != Z_OK )
|
||||
fprintf( stderr, "not ok.\n" );
|
||||
r = compress_buffer;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue