mirror of
git://erdgeist.org/opentracker
synced 2025-01-11 15:30:07 +00:00
use a more reasonable compression level
This commit is contained in:
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
Block a user