mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-05 18:18:34 +00:00
depot_download: limit rate of update-state reports
The default rate of 100 ms keeps Sculpt too busy because the menu that displays the percentage values is drawn completely on each update. Limiting the rate to 1/4 seconds relieves the effect.
This commit is contained in:
parent
1ead0ea3a7
commit
1f3f7282f3
@ -29,7 +29,10 @@ void Depot_download_manager::gen_fetchurl_start_content(Xml_generator &xml,
|
||||
xml.attribute("rtc", "/dev/rtc");
|
||||
xml.attribute("socket", "/socket");
|
||||
});
|
||||
xml.node("report", [&] () { xml.attribute("progress", "yes"); });
|
||||
xml.node("report", [&] () {
|
||||
xml.attribute("progress", "yes");
|
||||
xml.attribute("delay_ms", 250);
|
||||
});
|
||||
xml.node("vfs", [&] () {
|
||||
xml.node("dir", [&] () {
|
||||
xml.attribute("name", "download");
|
||||
|
Loading…
x
Reference in New Issue
Block a user