guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [WIP][PATCH] download: Don't report the progress too fast


From: Ludovic Courtès
Subject: Re: [WIP][PATCH] download: Don't report the progress too fast
Date: Tue, 19 Sep 2017 13:32:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hello!

address@hidden (宋文武) skribis:

> address@hidden (Ludovic Courtès) writes:

[...]

>> To address these, I would use ‘abort-to-prompt’ & co., possibly with
>> “suspendable ports”, but this is a 2.2 feature.  (It may be that we
>> should use Fibers directly.)
>
> Sure, I’d like to try fibers.  When we can drop the support of Guile
> 2.0?  (I guess one sign is that 2.2 is in the debian stable.)

“Sometime.”  :-)

IMO we should keep supporting 2.0 until 2.2’s compiler has reasonable
resource consumption.

>> Tricky!  Not sure what to do here.
>>
>> Thoughts?
>
> How about replace the use of thread from ‘progress-reporter/file’ by a
> ‘rate-limited’ render procedure, and then change the elapsed time to
> ETA, which is okay without updating in seconds?

Roughly what you did initially, right?  That sounds good to me.

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]