increase sleep delay between update jobs from 0.05 to 0.1 as reported by users
This commit is contained in:
3
subs
3
subs
@@ -80,6 +80,7 @@ get_vids() {
|
||||
# creation date
|
||||
data=${data#*\<\/published\>}
|
||||
|
||||
# trim off outer <name> tags
|
||||
chan=${data%%</name*}
|
||||
chan=${chan##*name>}
|
||||
|
||||
@@ -124,7 +125,7 @@ update_subs() {
|
||||
count=$(( count + 1 ))
|
||||
printf 'starting job [%s/%s] for %s\n' "$count" "$total" "$link"
|
||||
get_vids "$link" &
|
||||
sleep 0.05
|
||||
sleep 0.1
|
||||
done <"$SUBS_LINKS"
|
||||
|
||||
count=0
|
||||
|
||||
Reference in New Issue
Block a user