~ubuntu-branches/ubuntu/lucid/system-config-printer/lucid

Viewing all changes in revision 131.

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2010-04-09 20:41:50 UTC
  • Revision ID: james.westby@ubuntu.com-20100409204150-96488h45iqx04ovz
Tags: 1.2.0+20100408-0ubuntu2
debian/patches/94_cache-and-timeout-for-avahi-browse.patch:
For finding out which discovered network printer URIs belong to the same
printer avahi-browse is used to resolve the IP's of printers discovered
via DNS-SD. avahi-browse was called several times for each discovered
printer and sometimes took several seconds to complete or even did not
terminate at all. This froze system-config-printer very often. Now we
call avahi-browse only once and cache the output. In addition, we kill
it when it takes more than 2 seconds. This way the avahi-browse process
gets invisible for the user and still does its job (Should really fix
LP: #552398).

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: