Skip to content

Commit

Permalink
Fix opcache setting for development
Browse files Browse the repository at this point in the history
  • Loading branch information
te-online committed Apr 7, 2023
1 parent f1ada7b commit 9230cd4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ services:
volumes:
- nextcloud:/var/www/html
- ../:/var/www/html/custom_apps/timemanager
- ./opcache-recommended.ini:/usr/local/etc/php/conf.d/opcache-recommended.ini
environment:
- REDIS_HOST=${REDIS_HOST}
- REDIS_HOST_PASSWORD=${REDIS_HOST_PASSWORD}
Expand Down
8 changes: 8 additions & 0 deletions tests/opcache-recommended.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
opcache.enable=1
opcache.interned_strings_buffer=32
opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1
opcache.jit=1255
opcache.jit_buffer_size=128M

0 comments on commit 9230cd4

Please sign in to comment.