GeoNode/geonode — pull request #1008 by smesdaghi (2013-07-23 15:15:35+00:00)
Title: when uploading a layer, it might take longer than 4 seconds in which cas...

when uploading a layer, it might take longer than 4 seconds in which case the previous code would add the layer to geoserver but all steps that followed in geocode would fail. this code checks every 2 seconds and waits as long as 1 min for upload to complete. needed for slower server, busy server, server that was recently started, or larger data.