[PATCH 0/4] Improve delayer
Julien ÉLIE
julien at trigofacile.com
Wed Jan 17 12:00:04 UTC 2024
Hi Christoph,
>> I'm wondering whether we should not implement a minimal delayed time for a
>> line before being sent, for the script to be even more efficient.
>
> Um, do you mean an upper time limit a line may be queued?
No, I was meaning a lower time limit.
Suppose the delayed time is 60 seconds, and articles are received at
time 3, 59 and 62 seconds after the start of the timer.
I am under the impression that when the third article arrives, all of
the spooled lines (for the 3 articles) are sent. So the second article
has only been delayed for 3 seconds, and the last one had no delay at
all. Isn't it what happens?
My question was if we couldn't have a minimal time for an article, for
instance by associating each spooled line to a time, and only write the
ones that have been delayed enough according to the timer.
No need for any alarm I think.
Unless I misunderstand the rule about when the spooled lines are written?
--
Julien ÉLIE
« Pour célébrer ce jour heureux, buvons un coup, buvons-en deux. »
(Aristophane)
More information about the inn-workers
mailing list