diff options
author | Robin Appelman <robin@icewind.nl> | 2024-07-31 18:41:11 +0200 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2024-08-28 10:21:19 +0200 |
commit | 62f8b6517f4492b220ebd9df415f2b134735768b (patch) | |
tree | 4b1bee39c02d7f2cfeb7c975e4be88579ff3d932 /lib/private/Server.php | |
parent | f5b348674449d023367b5e5f84cb4ac1de98605b (diff) | |
download | nextcloud-server-62f8b6517f4492b220ebd9df415f2b134735768b.tar.gz nextcloud-server-62f8b6517f4492b220ebd9df415f2b134735768b.zip |
feat: implement distributing partitioned queries over multiple shards
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r-- | lib/private/Server.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php index 09d1f341ce5..01d5bdac0b6 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -811,7 +811,7 @@ class Server extends ServerContainer implements IServerContainer { $this->registerAlias(IDBConnection::class, ConnectionAdapter::class); $this->registerService(Connection::class, function (Server $c) { $systemConfig = $c->get(SystemConfig::class); - $factory = new \OC\DB\ConnectionFactory($systemConfig); + $factory = new \OC\DB\ConnectionFactory($systemConfig, $c->get(ICacheFactory::class)); $type = $systemConfig->getValue('dbtype', 'sqlite'); if (!$factory->isValidType($type)) { throw new \OC\DatabaseException('Invalid database type'); |