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:
Giuseppe Scrivano authored and Colin Walters committed 2015-03-03 12:16:17 -05:00
1 parent 3f3bb8e37d
commit 439e1c1b97
1 file changed
+2 -2
@@ -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;