1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[compute|aws] extend polling interval for spot_requests bootstrap

This commit is contained in:
geemus 2012-04-27 11:52:51 -05:00
parent 910923771e
commit 529178ad79

View file

@ -61,7 +61,7 @@ module Fog
end
spot_request.save
spot_request.wait_for { ready? }
spot_request.wait_for(Fog.timeout, interval=4) { ready? }
Fog.wait_for { server = connection.servers.get(spot_request.reload.instance_id) }
server = connection.servers.get(spot_request.instance_id)
if spot_request.tags