]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
import: bump image size safety limit for machinectl pull (#5535)
authorDax Kelson <dkelson@gurulabs.com>
Sun, 5 Mar 2017 12:03:53 +0000 (05:03 -0700)
committerMartin Pitt <martinpitt@users.noreply.github.com>
Sun, 5 Mar 2017 12:03:53 +0000 (13:03 +0100)
We currenly use 40GB images in our environment

src/import/pull-job.c

index e550df2c57c5c9930c86eb1f04c90d5733cb89b0..70aaa5c291946f8fd07e0cb1ccd97d77dea823b1 100644 (file)
@@ -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)