pulp/plugins/util/publish_step.py may call report_progress too often
report_progress has the following:
else: current_time = time.time() if current_time != self.last_report_time: # Update at most once a second self.get_status_conduit().set_progress(self.get_progress_report()) self.last_report_time = current_time
Since time.time() returns fractions of seconds, that comment is incorrect - it may call set_progress() more than once a second.
I would recommend:
if current_time - self.last_report_time > 1:
#3 Updated by bmbouter over 1 year ago
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.
Please register to edit this issue