mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
library.sh: Warn that clearing opcache can take some time
Signed-off-by: thecalcaholic <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
parent
21d9894e63
commit
a475184803
@ -556,6 +556,7 @@ function clear_opcache() {
|
||||
local data_dir="$(get_nc_config_value datadirectory)"
|
||||
! [[ -d "${data_dir:-/var/www/data}/.opcache" ]] || {
|
||||
echo "Clearing opcache..."
|
||||
echo "This can take some time. Please don't interrupt the process/close your browser tab."
|
||||
rm -rf "${data_dir:-/var/www/data}/.opcache"/*
|
||||
echo "Done."
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user