diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-01-27 14:19:23 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-01-27 14:19:23 +0300 |
commit | f34fa9dfe1f452b39eb84fb0dd31d678a31493ac (patch) | |
tree | 1d3c0c74b8f735118f65b580f0b13640276cec7d /lib | |
parent | e00cd982f2a5045e5a6954f4c2049325d4d21438 (diff) |
Move federation cache to a distributed one
Signed-off-by: Julius Härtl <jus@bitgrid.net>
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 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; |