aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/clean/server
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 /scripts/clean/server
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 'scripts/clean/server')
-rwxr-xr-xscripts/clean/server/test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/clean/server/test.sh b/scripts/clean/server/test.sh
index 2ceb71244..b56021874 100755
--- a/scripts/clean/server/test.sh
+++ b/scripts/clean/server/test.sh
@@ -6,4 +6,5 @@ for i in $(seq 1 6); do
6 rm -f "./config/local-test.json" 6 rm -f "./config/local-test.json"
7 rm -f "./config/local-test-$i.json" 7 rm -f "./config/local-test-$i.json"
8 createdb "peertube_test$i" 8 createdb "peertube_test$i"
9 redis-cli KEYS "q-localhost:900$i*" | grep -v empty | xargs --no-run-if-empty redis-cli DEL
9done 10done