mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
ImageCacheService gave each attempt at pulling an image a hard-coded five minutes, and a pull three attempts. An EMR Serverless runtime is 3.5 to 4.3 GB, so on an ordinary connection the first run of a release Docker did not have yet failed with "Could not pull image" before the pull could finish. floci.docker.image-pull-timeout-seconds, or FLOCI_DOCKER_IMAGE_PULL_TIMEOUT_SECONDS, now sets the limit for each attempt. Its default, 300, keeps today's five minutes, and it must be at least 1, checked with the other Docker timeouts in DockerClientProducer. Follow-up to #6469.