How to set a health check timeout
marktoda
PROOP

a year ago

Hello! I’m trying to set an admittedly long health check timeout of 5 hours to enable zero downtime deployment of a data indexing service. I’ve tried using the environment variable but it seems to cap at a timeout of 3600 seconds. Any tips?

21 Replies

marktoda
PROOP

a year ago

Spirited-nurturing


marktoda
PROOP

a year ago

d4b9e886-dd51-47d2-8eb4-adac038513e4


a year ago

i think the limit is 12 hours or something


a year ago

you dont even have a healthcheck path set?


marktoda
PROOP

a year ago

I turned it off


marktoda
PROOP

a year ago

Will add back


marktoda
PROOP

a year ago

Ok restarted with the health check set


a year ago

i see whats wrong, let me fix


a year ago

what do you want the healthcheck timeout set to


marktoda
PROOP

a year ago

18000 secs


a year ago

do i have your permission to trigger a deploy?


marktoda
PROOP

a year ago

Yep go for it


marktoda
PROOP

a year ago

What was the issue?


a year ago

the UI overwrites the variable you set, i removed the UI value from the db


a year ago

the health check will now respect the variable


marktoda
PROOP

a year ago

Ah, is there a way to do that from the ui for future reference?


marktoda
PROOP

a year ago

Is it because I first tried the ui then used the variable?


a year ago

i dont think you can remove it from the UI


a year ago

so need an admin


marktoda
PROOP

a year ago

Thank you!!


a year ago

but fwiw this health check thing is a slippery slope, right now its a 5 hour health check, tomorrow its a 24 hour health check, next week its a week long health check.

(we have people wanting a week long health check)

is there really no better solution?


Loading...