summaryrefslogtreecommitdiff
path: root/kvmd
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd')
-rw-r--r--kvmd/apps/kvmd/api/msd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/kvmd/api/msd.py b/kvmd/apps/kvmd/api/msd.py
index 23979d51..94b08299 100644
--- a/kvmd/apps/kvmd/api/msd.py
+++ b/kvmd/apps/kvmd/api/msd.py
@@ -189,7 +189,7 @@ class MsdApi:
last_report_ts = 0
async for chunk in remote.content.iter_chunked(chunk_size):
written = await writer.write_chunk(chunk)
- now = int(time.time())
+ now = int(time.monotonic())
if last_report_ts + 1 < now:
await stream_write_info()
last_report_ts = now