[mythtv-commits] mythtv commit: r25180 by beirdo
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Mon Jun 28 04:43:46 UTC 2010
Author: beirdo
Date: 2010-06-28 04:43:46 +0000 (Mon, 28 Jun 2010)
New Revision: 25180
Changeset: http://svn.mythtv.org/trac/changeset/25180
Modified:
trunk/mythtv/programs/mythtv-setup/importicons.cpp
Log:
Added a timeout to the icon grabbing for the icon importer.
Every one of the icon files we grab gives us a 301 Permanent Redirect, which we
then follow. The problem is, we look up the DNS for every single request each
time we do a request, and have no local caching. This causes slowness if the
configured DNS server is slow.
The best way to fix this is two-fold:
1) use faster resolvers (8.8.8.8 and 8.8.4.4 should work if nothing else -
google's public resolvers)
2) do local caching within the application to reduce the DNS lookups
significantly
More information about the mythtv-commits
mailing list