Skip to content

Commit

Permalink
Fixes wp-cli - infinite amount of semaphores via sem_get (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
stodorovic authored and donnchawp committed Aug 7, 2018
1 parent e4e3724 commit 89798ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wp-cache.php
Expand Up @@ -66,6 +66,7 @@ function wpsc_init() {
* It's minimal list of global variables.
*/
global $super_cache_enabled, $cache_enabled, $wp_cache_home_path, $cache_path;
global $wp_cache_mutex_disabled, $mutex_filename, $sem_id;
global $wp_cache_config_file, $wp_cache_config_file_sample;

if( !@include($wp_cache_config_file) ) {
Expand Down

0 comments on commit 89798ac

Please sign in to comment.