[master][PATCH] Wait for GeoIP lookup to finish

Martin Kolman mkolman at redhat.com
Fri Jun 28 14:26:20 UTC 2013


From: Martin Kolman <mkolman at gmail.com>

The following patch makes the Welcome spoke wait for up to 3 seconds
for the GeoIP lookup to finish. Thats only the worst case, as the lookup
usually takes between 1.1 to 2 seconds. And in case the lookup finishes
before the Welcome spoke initialize() function is called (as it seems to be the
case on non-live installs), there will be no wait at all.

Also any feedback about the default 3 second timeout is welcome (too long/short ?).

(repost nr. 2, sending from zimbra as git send-email emails seem to get eaten for some reason)

Martin Kolman (1):
  Make the Welcome spoke wait for Geolocation lookup to finish

 pyanaconda/constants.py             |  3 ++
 pyanaconda/geoloc.py                | 62 ++++++++++++++++++++++++++++++++-----
 pyanaconda/ui/gui/spokes/welcome.py |  2 +-
 3 files changed, 59 insertions(+), 8 deletions(-)

-- 
1.8.1.4


More information about the anaconda-patches mailing list