}
if (!$init) {
- // We can't use watchdog because this happens in a bootstrap phase
- // where watchdog is non-functional. Register a shutdown handler
- // instead so it gets recorded at the end of page load.
- register_shutdown_function('memcache_log_warning', LogLevel::ERROR, 'Failed to connect to memcache server: !server', array('!server' => $s));
$this->failedConnectionCache[$s] = FALSE;
}
}