From 94a5ff8a4a75d75bb9df542a39ce8769e7a7e6a4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 25 Jan 2018 15:05:18 +0100 Subject: Move job queue to redis We'll use it as cache in the future. /!\ You'll loose your old jobs (pending jobs too) so upgrade only when you don't have pending job anymore. --- config/default.yaml | 5 +++++ config/production.yaml.example | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'config') diff --git a/config/default.yaml b/config/default.yaml index 3d0732069..fd04b5ce6 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -14,6 +14,11 @@ database: username: 'peertube' password: 'peertube' +redis: + hostname: 'localhost' + port: 6379 + auth: null + # From the project root directory storage: avatars: 'storage/avatars/' diff --git a/config/production.yaml.example b/config/production.yaml.example index 1288eeaa2..a2b332983 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -15,6 +15,11 @@ database: username: 'peertube' password: 'peertube' +redis: + hostname: 'localhost' + port: 6379 + auth: null + # From the project root directory storage: avatars: '/var/www/peertube/storage/avatars/' -- cgit v1.2.3