[cups-devel] [RFE] STR #2913: Improve Get-Jobs performance with large numbers of jobs

Michael Sweet noreply at cups.org
Wed Jul 30 17:07:03 PDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Resolved]

Fixed in Subversion repository.

The attached patch adds a small amount of additional caching to allow the
most common uses of Get-Jobs to work without requiring the full job history
to be reloaded.  When loading is necessary, we also now limit the number of
returned jobs to 500 (and return this limit in the "limit" attribute in the
response).

I'm not incorporating the web interface or command changes since they only
ask for already-cached data and won't need any special handling.  But if
someone does extend the web template to show more job attributes we will
limit the list to the 500 most recently completed jobs for a given printer
(or for all queues for the server-wide job listings).

Link: https://www.cups.org/str.php?L2913
Version: 2.0-feature
Fix Version: 2.0-current (r12067)
Attachment: https://www.cups.org/strfiles.php/3374/str2913.patch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJT2YinAAoJENujp6sI12Ij6/kQAJZhM7ea2kMUzWjQG/O6nFgc
JB/xfdKzuMlTaVBMtdN6j4pskOUgsVaifwOgWONcVOti9zX601buUlpO83oeXn9+
ztrz/7TGFYkrYo9hpH86VTFN9ldugov/7hPLHXVsqZvPYBevvG+ECj8xqVkmnH6G
HNFv7qfVim8+DRV3LtUWtSkLzQiJZYzR9qw1hr/IXEaQpZJV1g97QiiDTOJ44psV
cSAwhlxKw3VO8T2uDteJPyZg5EufcaLipBzlepMqg1mJtgKqXHleSAvMMyztVKJ6
mAnU45IQwUZUOZweUyNmEd/Nxsq88E+1Zp5FK/NzE3p/SQ1OTNZgRR2XE+JdrFTz
FcAjQ1FmF0lbbFuLxhDBXK/42k2lHvEORS2ffFemQbpQ3cbidHGPF9I1illT4NFI
/ngdg2ZVVmiSjvI5rnWiXvtxUAz2KwLotFaJQcnCql9Ro43qwdwAEXXf3s4zmmjG
XCY+UxhepjxpIFCjWEnLJkAODjWTlrcOVjGJotGCdJYW72OMv7N5b8EZrZPlRLBW
rcxeNrIQdSVpXlg1U1fwoS/5A88UpkRz0CVuS5I9bMwbTjjhRgNXu+hZU/eyp/1R
Sh8V+jeKnDoCZe2beAB0qJc44Ya7B/KGOjzz0zMUNysxwveYwXIU01RjMX6WAFqj
MvDmeQq8b7n9d3n5bF11
=pljL
-----END PGP SIGNATURE-----




More information about the cups-devel mailing list