static-delta: increase threshold for rollsum to 50%
It favours bsdiff usage for files that are not very rollsum friendly. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
3f3bb8e37d
commit
439e1c1b97
|
|
@ -568,10 +568,10 @@ try_content_rollsum (OstreeRepo *repo,
|
|||
|
||||
{ guint match_ratio = (matches->bufmatches*100)/matches->total;
|
||||
|
||||
/* Only proceed if the file contains (arbitrary) more than 25% of
|
||||
/* Only proceed if the file contains (arbitrary) more than 50% of
|
||||
* the previous chunks.
|
||||
*/
|
||||
if (match_ratio < 25)
|
||||
if (match_ratio < 50)
|
||||
{
|
||||
ret = TRUE;
|
||||
goto out;
|
||||
|
|
|
|||
Loading…
Reference in New Issue