diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-01-27 14:48:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-27 14:48:07 +0300 |
commit | cb6d3d01f6e500285458a61fb00c6a5fb5d61cbe (patch) | |
tree | 039224b955d6b3d18ef4c0f2ccafdc54b8a74a4b /lib | |
parent | cc18d985443342da9495d632e596fa72e2eaaf41 (diff) | |
parent | f34fa9dfe1f452b39eb84fb0dd31d678a31493ac (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.php | 2 |
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; |