Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-01-27 14:48:07 +0300
committerGitHub <noreply@github.com>2021-01-27 14:48:07 +0300
commitcb6d3d01f6e500285458a61fb00c6a5fb5d61cbe (patch)
tree039224b955d6b3d18ef4c0f2ccafdc54b8a74a4b /lib
parentcc18d985443342da9495d632e596fa72e2eaaf41 (diff)
parentf34fa9dfe1f452b39eb84fb0dd31d678a31493ac (diff)
Merge pull request #1329 from nextcloud/bugfix/noid/distributed-federation-cache
Move federation cache to a distributed one
Diffstat (limited to 'lib')
-rw-r--r--lib/Service/FederationService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/FederationService.php b/lib/Service/FederationService.php
index 8d641c36..ed6eb434 100644
--- a/lib/Service/FederationService.php
+++ b/lib/Service/FederationService.php
@@ -54,7 +54,7 @@ class FederationService {
private $tokenManager;
public function __construct(ICacheFactory $cacheFactory, IClientService $clientService, ILogger $logger, TokenManager $tokenManager, IConfig $config) {
- $this->cache = $cacheFactory->createLocal('richdocuments_remote/');
+ $this->cache = $cacheFactory->createDistributed('richdocuments_remote/');
$this->clientService = $clientService;
$this->logger = $logger;
$this->tokenManager = $tokenManager;