fix(runtime): bound cloud db query timeout (#1979)
This commit is contained in:
@@ -1004,6 +1004,9 @@ function runtimeStoreEnvForProfile(deploy, profile, serviceId) {
|
||||
if (Number.isInteger(postgres.connectionTimeoutMs)) {
|
||||
env.HWLAB_CLOUD_DB_PROBE_TIMEOUT_MS = String(postgres.connectionTimeoutMs);
|
||||
}
|
||||
if (Number.isInteger(postgres.queryTimeoutMs)) {
|
||||
env.HWLAB_CLOUD_DB_QUERY_TIMEOUT_MS = String(postgres.queryTimeoutMs);
|
||||
}
|
||||
if (Number.isInteger(postgres.queryRetryMaxAttempts)) {
|
||||
env.HWLAB_CLOUD_DB_QUERY_RETRY_MAX_ATTEMPTS = String(postgres.queryRetryMaxAttempts);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user