From d27ec710906c51c8085244a7f9ef5ddca3ba374d Mon Sep 17 00:00:00 2001 From: J0WI Date: Wed, 23 Mar 2022 11:27:28 +0000 Subject: [PATCH] Set recommend opcache.revalidate_freq (#1718) Signed-off-by: J0WI --- Dockerfile-alpine.template | 2 +- Dockerfile-debian.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index d2ede247..5c2ca13a 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -83,7 +83,7 @@ RUN { \ echo 'opcache.max_accelerated_files=10000'; \ echo 'opcache.memory_consumption=128'; \ echo 'opcache.save_comments=1'; \ - echo 'opcache.revalidate_freq=1'; \ + echo 'opcache.revalidate_freq=60'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \ diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index ef055e67..2f60e3b9 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -97,7 +97,7 @@ RUN { \ echo 'opcache.max_accelerated_files=10000'; \ echo 'opcache.memory_consumption=128'; \ echo 'opcache.save_comments=1'; \ - echo 'opcache.revalidate_freq=1'; \ + echo 'opcache.revalidate_freq=60'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ echo 'apc.enable_cli=1' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini; \