From 0a27810ab7825ca2ffb89ecbc15d21a6beb4b0d3 Mon Sep 17 00:00:00 2001 From: Ryan Hickman Date: Thu, 26 Jan 2017 13:09:57 -0700 Subject: [PATCH 1/2] =?UTF-8?q?`describe`=20cache=20shouldn=E2=80=99t=20cr?= =?UTF-8?q?eate=20all=20connections?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/config/bootstrap/cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config/bootstrap/cache.php b/app/config/bootstrap/cache.php index c6387b16..13069e0b 100644 --- a/app/config/bootstrap/cache.php +++ b/app/config/bootstrap/cache.php @@ -78,7 +78,7 @@ }); Dispatcher::applyFilter('run', function($self, $params, $chain) { - foreach (Connections::get() as $name) { + foreach (Connections::get(null, ['autoCreate' => false]) as $name) { if (!(($connection = Connections::get($name)) instanceof Database)) { continue; } From 700cb3a8db97c788fa8d69920066e6857ec031f3 Mon Sep 17 00:00:00 2001 From: Ryan Hickman Date: Mon, 30 Jan 2017 10:15:40 -0700 Subject: [PATCH 2/2] Long array syntax for `describe` cache fix false]) as $name) { + foreach (Connections::get(null, array('autoCreate' => false)) as $name) { if (!(($connection = Connections::get($name)) instanceof Database)) { continue; }