breser/git2consul

Resiliency in ssh/git connections

bitsofinfo opened this issue · 0 comments

Are there any options for retrying or connection resiliency in the way git2consul connects over ssh to git? On startup this produces many connections to our git server, and under certain conditions some connections are dropped and git2consul just dies. (these are transient conditions, i.e. git is up but under load etc).

Are there any options (or could something be added) to add some resiliency into this? i.e. configuration for number of times to retry a failed git connection etc. This would be great because write now for us an operator as to sit there on the command line and docker restart constantly over and over until we get a successful start.