increase sleep delay between update jobs from 0.05 to 0.1 as reported by users

This commit is contained in:
2020-05-13 16:51:41 -05:00
parent ecae08ec8f
commit 15711afa60

3
subs
View File

@@ -80,6 +80,7 @@ get_vids() {
# creation date # creation date
data=${data#*\<\/published\>} data=${data#*\<\/published\>}
# trim off outer <name> tags
chan=${data%%</name*} chan=${data%%</name*}
chan=${chan##*name>} chan=${chan##*name>}
@@ -124,7 +125,7 @@ update_subs() {
count=$(( count + 1 )) count=$(( count + 1 ))
printf 'starting job [%s/%s] for %s\n' "$count" "$total" "$link" printf 'starting job [%s/%s] for %s\n' "$count" "$total" "$link"
get_vids "$link" & get_vids "$link" &
sleep 0.05 sleep 0.1
done <"$SUBS_LINKS" done <"$SUBS_LINKS"
count=0 count=0