diff options
author | eldritch horrors <pennae@lix.systems> | 2024-09-30 01:31:30 +0200 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-10-01 11:55:29 +0000 |
commit | 9889c79fe355ce9d1b6ee7814cdeec0fbf70823a (patch) | |
tree | 5ca1679bf6b7062caafb64219fba70b348462617 /src/nix/fmt.cc | |
parent | 732de75f67f030886fd6bb421d49481caa3aa8cf (diff) |
libstore: turn Worker::updateStatistics into a promise
we'll now loop to update displayed statistics, and use this loop to
limit the update rate to 50 times per second. we could have updated
much more frequently before this (once per iteration of `runImpl`),
much faster than would ever be useful in practice. aggressive stats
updates can even impede progress due to terminal or network delays.
Change-Id: Ifba755a2569f73c919b1fbb06a142c0951395d6d
Diffstat (limited to 'src/nix/fmt.cc')
0 files changed, 0 insertions, 0 deletions