Thursday, June 28, 2018

[google-cloud-sql-discuss] Re: Postgres Connections Randomly Dropping

Hi Zach,

No problem, it's below:

          lifecycle:
            preStop:
              exec:
                command: ["sleep", "<time that you think your longest connection should last in seconds>"]



On Thursday, 28 June 2018 18:04:32 UTC-7, Zach Hanna wrote:
Nigel,
Do you mind sharing your lifecycle preStop command you used to gracefully drain the connections before teardown?  
 

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/94f95dda-ea4a-4477-a6ff-ec8592584595%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment