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
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-01-27 14:19:23 +0300
committerJulius Härtl <jus@bitgrid.net>2021-01-27 14:19:23 +0300
commitf34fa9dfe1f452b39eb84fb0dd31d678a31493ac (patch)
tree1d3c0c74b8f735118f65b580f0b13640276cec7d /lib/Service
parente00cd982f2a5045e5a6954f4c2049325d4d21438 (diff)
Move federation cache to a distributed one
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/Service')
-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 771bb183..61bf6823 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;