From: Dax Kelson Date: Sun, 5 Mar 2017 12:03:53 +0000 (-0700) Subject: import: bump image size safety limit for machinectl pull (#5535) X-Git-Tag: v234~391 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=055c521ad4e9d2f923e9373ac12e214a1e896cc7;p=thirdparty%2Fsystemd.git import: bump image size safety limit for machinectl pull (#5535) We currenly use 40GB images in our environment --- diff --git a/src/import/pull-job.c b/src/import/pull-job.c index e550df2c57c..70aaa5c2919 100644 --- a/src/import/pull-job.c +++ b/src/import/pull-job.c @@ -527,7 +527,7 @@ int pull_job_new(PullJob **ret, const char *url, CurlGlue *glue, void *userdata) j->glue = glue; j->content_length = (uint64_t) -1; j->start_usec = now(CLOCK_MONOTONIC); - j->compressed_max = j->uncompressed_max = 8LLU * 1024LLU * 1024LLU * 1024LLU; /* 8GB */ + j->compressed_max = j->uncompressed_max = 64LLU * 1024LLU * 1024LLU * 1024LLU; /* 64GB safety limit */ j->url = strdup(url); if (!j->url)