Skip to content

Commit

Permalink
add timeout for guac postgres queries
Browse files Browse the repository at this point in the history
  • Loading branch information
craddm committed Sep 18, 2023
1 parent e151cc3 commit 0852d0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data_safe_haven/infrastructure/stacks/sre/remote_desktop.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,9 @@ def __init__(
containerinstance.EnvironmentVariableArgs(
name="POSTGRESQL_SSL_MODE", value="require"
),
containerinstance.EnvironmentVariableArgs(
name="POSTGRES_SOCKET_TIMEOUT", value=5
),
containerinstance.EnvironmentVariableArgs(
name="POSTGRES_USER",
value=Output.concat(
Expand Down

0 comments on commit 0852d0b

Please sign in to comment.