Skip to content

Commit

Permalink
fix(helm): Add a timeout to the postgres db connection
Browse files Browse the repository at this point in the history
 This is to explore if the db is a culprit in the environment not being able to spin up under certain conditions (sandboxes)
  • Loading branch information
edamboritz committed Jul 3, 2024
1 parent bc5fffb commit 12b8954
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ data:
'PASSWORD': os.getenv("DATABASES_PASSWORD"),
'HOST': os.getenv("DATABASES_HOST"),
'PORT': os.getenv("DATABASES_PORT"),
'OPTIONS': {
'connect_timeout': 20, # timeout for connecting in seconds
},
}
}
Expand Down

0 comments on commit 12b8954

Please sign in to comment.