mancdaz / banana

test issue import
0 stars 0 forks source link

Time out on initial Network check is probably too long #21

Open mancdaz opened 10 years ago

mancdaz commented 10 years ago

Issue by andymcc Friday Aug 29, 2014 at 13:20 GMT Originally opened as https://github.com/rcbops/ansible-lxc-rpc-orig/issues/485


The initial time out check is 60 seconds - this seems too long, we could do this at 10seconds, since it just exists to determine whether we should reboot the container or not - the post reboot check can be longer (as it is 60 seconds).

This adds a lot of time to the initial run, and if the network is up (before we even restart it - e.g. it was already setup from a previous run) then it won't take 60 seconds to confirm.

mancdaz commented 10 years ago

Comment by andymcc Friday Aug 29, 2014 at 13:21 GMT


Fixed in my local branch: https://github.com/andymcc/ansible-lxc-rpc/commit/c93472d8f61f0b169f1d8585413b42e58730d2c4