aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-25 15:05:18 +0100
committerChocobozzz <me@florianbigard.com>2018-01-25 18:41:17 +0100
commit94a5ff8a4a75d75bb9df542a39ce8769e7a7e6a4 (patch)
tree32a9148e0e4567f0c4ffae0412cbed20b84e8873 /config
parentd765fafc3faf0db9818eb1a07161df1cb1bc0efa (diff)
downloadPeerTube-94a5ff8a4a75d75bb9df542a39ce8769e7a7e6a4.tar.gz
PeerTube-94a5ff8a4a75d75bb9df542a39ce8769e7a7e6a4.tar.zst
PeerTube-94a5ff8a4a75d75bb9df542a39ce8769e7a7e6a4.zip
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.
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml5
-rw-r--r--config/production.yaml.example5
2 files changed, 10 insertions, 0 deletions
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:
14 username: 'peertube' 14 username: 'peertube'
15 password: 'peertube' 15 password: 'peertube'
16 16
17redis:
18 hostname: 'localhost'
19 port: 6379
20 auth: null
21
17# From the project root directory 22# From the project root directory
18storage: 23storage:
19 avatars: 'storage/avatars/' 24 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:
15 username: 'peertube' 15 username: 'peertube'
16 password: 'peertube' 16 password: 'peertube'
17 17
18redis:
19 hostname: 'localhost'
20 port: 6379
21 auth: null
22
18# From the project root directory 23# From the project root directory
19storage: 24storage:
20 avatars: '/var/www/peertube/storage/avatars/' 25 avatars: '/var/www/peertube/storage/avatars/'