diff options
author | Christopher Baines <mail@cbaines.net> | 2022-10-14 17:48:18 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2022-10-14 17:48:18 +0100 |
commit | 8c6e2a6a7c158610da676c49c00d54c7c5d71f1d (patch) | |
tree | 76a0b8281ca8c6084067bf2992f4c9c75812725d /guix-build-coordinator/agent-messaging/http.scm | |
parent | 91089b5dd0f2d6a802fc4f329f19f012bb7fb2c2 (diff) | |
download | build-coordinator-8c6e2a6a7c158610da676c49c00d54c7c5d71f1d.tar build-coordinator-8c6e2a6a7c158610da676c49c00d54c7c5d71f1d.tar.gz |
Reset the upload progress when appropriate
Diffstat (limited to 'guix-build-coordinator/agent-messaging/http.scm')
-rw-r--r-- | guix-build-coordinator/agent-messaging/http.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/guix-build-coordinator/agent-messaging/http.scm b/guix-build-coordinator/agent-messaging/http.scm index c331052..b02c598 100644 --- a/guix-build-coordinator/agent-messaging/http.scm +++ b/guix-build-coordinator/agent-messaging/http.scm @@ -329,7 +329,9 @@ (log 'DEBUG "still more to send (bytes: " file-size ", partial upload bytes: " partial-upload-bytes ", completed upload bytes: " completed-upload-bytes ")") - (log 'DEBUG "starting sending file from start")) + (begin + (log 'DEBUG "starting sending file from start") + (report-bytes-sent 'reset))) ;; Still more to send (call-with-input-file file |