ncp-restore: Make sure to clear opcache before executing ncc commands

Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
Tobias Knöppler 2023-01-21 15:53:58 +01:00
parent 39c915dc67
commit e8352bd10e
No known key found for this signature in database
GPG Key ID: 3510056072886A8F
2 changed files with 4 additions and 3 deletions

View File

@ -106,8 +106,9 @@ fi
cd "$NCDIR"
### INCLUDEDATA=yes situation
clear_opcache
### INCLUDEDATA=yes situation
NUMFILES=2
if [[ $( ls "$TMPDIR" | wc -l ) -eq $NUMFILES ]]; then

View File

@ -31,6 +31,6 @@ opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1
opcache.file_cache=${TMP_DIR};
opcache.jit=function;
opcache.file_cache=${TMP_DIR}
opcache.jit=function
EOF