Remove APCu as a cache option...it doesn't work with CLI authentication

This commit is contained in:
Timothy Warren 2020-05-08 19:17:11 -04:00
parent 3ecccb6ad8
commit 21a98dc48e
2 changed files with 2 additions and 3 deletions

View File

@ -292,14 +292,14 @@ final class Dispatcher extends RoutingBase {
'API request timed out', 'API request timed out',
'Failed to retrieve data from API (╯°□°)╯︵ ┻━┻'); 'Failed to retrieve data from API (╯°□°)╯︵ ┻━┻');
} }
finally /* finally
{ {
// Log out on session/api token expiration // Log out on session/api token expiration
Event::on(EventType::UNAUTHORIZED, static function () { Event::on(EventType::UNAUTHORIZED, static function () {
$controllerName = DEFAULT_CONTROLLER; $controllerName = DEFAULT_CONTROLLER;
(new $controllerName($this->container))->logout(); (new $controllerName($this->container))->logout();
}); });
} } */
} }
/** /**

View File

@ -92,7 +92,6 @@ const SETTINGS_MAP = [
'title' => 'Cache Type', 'title' => 'Cache Type',
'description' => 'The Cache backend', 'description' => 'The Cache backend',
'options' => [ 'options' => [
'APCu' => 'apcu',
'Memcached' => 'memcached', 'Memcached' => 'memcached',
'Redis' => 'redis', 'Redis' => 'redis',
'No Cache' => 'null' 'No Cache' => 'null'