From f981dae8617271a2dc713bb683951730b306e0c5 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 12 Jul 2017 11:56:02 +0200 Subject: Add previews cache system between pods --- config/default.yaml | 5 +++++ config/production.yaml.example | 1 + config/test-1.yaml | 2 ++ config/test-2.yaml | 2 ++ config/test-3.yaml | 2 ++ config/test-4.yaml | 2 ++ config/test-5.yaml | 2 ++ config/test-6.yaml | 2 ++ 8 files changed, 18 insertions(+) (limited to 'config') diff --git a/config/default.yaml b/config/default.yaml index e03bf1aea..b4e7606cf 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -22,6 +22,11 @@ storage: previews: 'previews/' thumbnails: 'thumbnails/' torrents: 'torrents/' + cache: 'cache/' + +cache: + previews: + size: 1 # Max number of previews you want to cache admin: email: 'admin@example.com' diff --git a/config/production.yaml.example b/config/production.yaml.example index c18457df6..0857aa3ca 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -23,6 +23,7 @@ storage: previews: 'previews/' thumbnails: 'thumbnails/' torrents: 'torrents/' + cache: 'cache/' admin: email: 'admin@example.com' diff --git a/config/test-1.yaml b/config/test-1.yaml index dbe408a8c..e244a8797 100644 --- a/config/test-1.yaml +++ b/config/test-1.yaml @@ -13,8 +13,10 @@ storage: certs: 'test1/certs/' videos: 'test1/videos/' logs: 'test1/logs/' + previews: 'test1/previews/' thumbnails: 'test1/thumbnails/' torrents: 'test1/torrents/' + cache: 'test1/cache/' admin: email: 'admin1@example.com' diff --git a/config/test-2.yaml b/config/test-2.yaml index c95b9c229..236dcb10d 100644 --- a/config/test-2.yaml +++ b/config/test-2.yaml @@ -13,8 +13,10 @@ storage: certs: 'test2/certs/' videos: 'test2/videos/' logs: 'test2/logs/' + previews: 'test2/previews/' thumbnails: 'test2/thumbnails/' torrents: 'test2/torrents/' + cache: 'test2/cache/' admin: email: 'admin2@example.com' diff --git a/config/test-3.yaml b/config/test-3.yaml index 2eb984692..a29225a44 100644 --- a/config/test-3.yaml +++ b/config/test-3.yaml @@ -13,8 +13,10 @@ storage: certs: 'test3/certs/' videos: 'test3/videos/' logs: 'test3/logs/' + previews: 'test3/previews/' thumbnails: 'test3/thumbnails/' torrents: 'test3/torrents/' + cache: 'test3/cache/' admin: email: 'admin3@example.com' diff --git a/config/test-4.yaml b/config/test-4.yaml index a0a9bde21..da93e128d 100644 --- a/config/test-4.yaml +++ b/config/test-4.yaml @@ -13,8 +13,10 @@ storage: certs: 'test4/certs/' videos: 'test4/videos/' logs: 'test4/logs/' + previews: 'test4/previews/' thumbnails: 'test4/thumbnails/' torrents: 'test4/torrents/' + cache: 'test4/cache/' admin: email: 'admin4@example.com' diff --git a/config/test-5.yaml b/config/test-5.yaml index af8654e14..f95e25eb8 100644 --- a/config/test-5.yaml +++ b/config/test-5.yaml @@ -13,8 +13,10 @@ storage: certs: 'test5/certs/' videos: 'test5/videos/' logs: 'test5/logs/' + previews: 'test5/previews/' thumbnails: 'test5/thumbnails/' torrents: 'test5/torrents/' + cache: 'test5/cache/' admin: email: 'admin5@example.com' diff --git a/config/test-6.yaml b/config/test-6.yaml index d74d3b052..87d054439 100644 --- a/config/test-6.yaml +++ b/config/test-6.yaml @@ -13,8 +13,10 @@ storage: certs: 'test6/certs/' videos: 'test6/videos/' logs: 'test6/logs/' + previews: 'test6/previews/' thumbnails: 'test6/thumbnails/' torrents: 'test6/torrents/' + cache: 'test6/cache/' admin: email: 'admin6@example.com' -- cgit v1.2.3