Skip to content
Snippets Groups Projects
Commit 1560e33c authored by Elmar Ludwig's avatar Elmar Ludwig Committed by Jan-Hendrik Willms
Browse files

try to work around problems with opcache.revalidate_freq on plugin updates, fixes #569

parent 0b53feab
No related branches found
No related tags found
No related merge requests found
......@@ -119,6 +119,10 @@ class PluginAdministration
rename($tmpplugindir, $plugindir);
// wait until opcache.revalidate_freq expires
$revalidate_freq = min(ini_get('opcache.revalidate_freq'), 10);
sleep($revalidate_freq);
// create database schema if needed
$this->createDBSchema($plugindir, $manifest, $pluginregistered);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment