Multithreading

This commit is contained in:
2020-06-14 13:26:24 -04:00
parent 38e81a3dc6
commit a3418af7c1
6 changed files with 117 additions and 78 deletions

View File

@@ -1,9 +1,5 @@
#!/usr/bin/env bash
tmux new -d -s mgCover bash -c "./task_runner.sh task_get_cover.py"
tmux new -d -s mgLastfm bash -c "./task_runner.sh task_get_lastfm"
tmux new -d -s mgLastfm2 bash -c "./task_runner.sh task_get_lastfm"
tmux new -d -s mgSpotify bash -c "./task_runner.sh task_get_spotify.py"
tmux new -d -s mgSpotify2 bash -c "./task_runner.sh task_get_spotify.py"
tmux new -d -s mgCover bash -c "./task_runner.sh task_get_cover.py --count 100 --threads 2"
tmux new -d -s mgLastfm bash -c "./task_runner.sh task_get_lastfm.py --count 500 --threads 5"
tmux new -d -s mgSpotify bash -c "./task_runner.sh task_get_spotify.py --count 500 --threads 10"