[PATCH] docker: increase database connection timeout

Stephen Finucane stephen at that.guru
Fri May 26 18:45:32 AEST 2017


On Thu, 2017-05-25 at 16:01 +1000, Daniel Axtens wrote:
> Andrew Donnellan <andrew.donnellan at au1.ibm.com> writes:
> 
> > When starting the Docker environment, if the web container can't
> > see the
> > database immediately, it waits 5 seconds, tries again, then waits
> > 15
> > seconds more to account for first-time start-ups where it takes a
> > bit
> > longer for the database to be initialised.
> > 
> > Some of us, unfortunately, have slow computers with slow mechanical
> > hard
> > drives which take just a bit longer. Increase the second timeout
> > from 15
> > seconds to 60 seconds, testing every 5 seconds.
> > 
> > Cc: Daniel Axtens <dja at axtens.net>
> 
> Acked-by: Daniel Axtens <dja at axtens.net>
> 
> LGTM - thanks Andrew for the fix and the reminder we don't all have
> PCI-connected NVMe :P

Boo spinning rust.

Reviewed-by: Stephen Finucane <stephen at that.guru>

and applied.

Stephen


More information about the Patchwork mailing list