aboutsummaryrefslogtreecommitdiff
path: root/src/lpm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/lpm.lua')
-rw-r--r--src/lpm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua
index 18d979c..0f71211 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -1877,7 +1877,7 @@ not commonly used publically.
return
end
if not last_read then last_read = system.time() end
- if not last_read or system.time() - last_read > 0.1 then
+ if not last_read or system.time() - last_read > 0.05 then
io.stdout:write(json.encode({ progress = { percent = (received_objects and (received_objects/total_objects_or_content_length) or (total_read/total_objects_or_content_length) or 0), label = progress_bar_label } }) .. "\n")
io.stdout:flush()
last_read = system.time()