Bug 548771 - cph_cups_job_get_status very inefficient
Summary: cph_cups_job_get_status very inefficient
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cups-pk-helper
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Marek Kašík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-18 15:10 UTC by Tim Waugh
Modified: 2010-03-10 06:48 UTC (History)
1 user (show)

Fixed In Version: cups-pk-helper-0.0.4-12.fc12
Clone Of:
Environment:
Last Closed: 2010-03-10 06:48:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tim Waugh 2009-12-18 15:10:58 UTC
Description of problem:
The cph_cups_job_get_status() function is extremely inefficient.  It asks cupsd for an entire list of jobs and then sifts through the result to find out about the single job it is interested it.

It should send an IPP-Get-Job-Attributes request instead.

Version-Release number of selected component (if applicable):
cups-pk-helper-0.0.4-10.fc12.x86_64

Comment 1 Fedora Update System 2010-02-23 13:46:50 UTC
cups-pk-helper-0.0.4-12.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/cups-pk-helper-0.0.4-12.fc12

Comment 2 Fedora Update System 2010-02-23 13:49:52 UTC
cups-pk-helper-0.0.4-12.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/cups-pk-helper-0.0.4-12.fc13

Comment 3 Fedora Update System 2010-02-23 16:10:48 UTC
cups-pk-helper-0.0.4-12.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2010-02-24 06:12:58 UTC
cups-pk-helper-0.0.4-12.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update cups-pk-helper'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-2753

Comment 5 Fedora Update System 2010-03-10 06:48:45 UTC
cups-pk-helper-0.0.4-12.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.