[yum-commits] yum/drpm.py
zpavlas at osuosl.org
zpavlas at osuosl.org
Mon Aug 19 12:52:26 UTC 2013
yum/drpm.py | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit eaccbc6141eaf0008907b5107003a8fcc3a068c4
Author: Zdenek Pavlas <zpavlas at redhat.com>
Date: Wed Aug 14 13:42:41 2013 +0200
Increase the timescale for "locally rebuilding deltarpms"
diff --git a/yum/drpm.py b/yum/drpm.py
index 464f17c..b5bdee3 100644
--- a/yum/drpm.py
+++ b/yum/drpm.py
@@ -282,6 +282,10 @@ class DeltaInfo:
if hasattr(progress, 'text_meter_total_size'):
progress.text_meter_total_size(0)
self.progress = po.repo.callback
+ # default timescale 5s works fine with 0.3s dl updates.
+ # drpm rebuild jobs do not finish that often, so bump it
+ try: self.progress.re.timescale = 30
+ except: pass # accessing private api
self.progress.start(filename=None, url=None, # BZ 963023
text='<locally rebuilding deltarpms>', size=total)
self.done = 0
More information about the Yum-commits
mailing list