summaryrefslogtreecommitdiff
path: root/sfeed_update
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2019-06-11 20:55:50 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2019-06-11 20:55:50 +0200
commit6387b083d2d2d3488b8dc7ce31c041ec17d6cc7e (patch)
treecc301d1863ec8b0ffa7f59a3ebe482f55d44c57f /sfeed_update
parentdfb02b659a44afe34176d010846de5c09992a147 (diff)
sfeed_update: clarify a comment about being non-optimal
Diffstat (limited to 'sfeed_update')
-rwxr-xr-xsfeed_update4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfeed_update b/sfeed_update
index 53b00f0..4a006a0 100755
--- a/sfeed_update
+++ b/sfeed_update
@@ -76,8 +76,8 @@ order() {
# fetch and parse feed.
# feed(name, feedurl, [basesiteurl], [encoding])
feed() {
- # wait until ${maxjobs} are finished: throughput using this logic is
- # non-optimal, but it is simple and portable.
+ # wait until ${maxjobs} are finished: will stall the queue if an item
+ # is slow, but it is portable.
[ ${signo} -ne 0 ] && return
[ $((curjobs % maxjobs)) -eq 0 ] && wait
[ ${signo} -ne 0 ] && return