From a140f96599db68895c751ac564a78ee204b3bf81 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 30 May 2021 20:42:09 +0100 Subject: Improve the reveived output message --- guix-build-coordinator/agent-messaging/http/server.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/guix-build-coordinator/agent-messaging/http/server.scm b/guix-build-coordinator/agent-messaging/http/server.scm index cc88659..23fa120 100644 --- a/guix-build-coordinator/agent-messaging/http/server.scm +++ b/guix-build-coordinator/agent-messaging/http/server.scm @@ -409,15 +409,16 @@ port. Also, the port used can be changed by passing the --port option.\n" (display (simple-format #f - "receiving ~A + "received ~A took ~A seconds - data transfered: ~AMB + data transfered: ~AMB (~A bytes) speed (MB/s): ~A " (basename output-file-name) seconds-elapsed (rationalize (exact->inexact (/ bytes-read 1000000)) 0.1) + bytes-read (rationalize (/ (/ bytes-read 1000000) seconds-elapsed) 0.1)))) -- cgit v1.2.3