feat: add configurable timeout for public database TCP proxy

Adds a per-database 'Proxy Timeout' setting for publicly exposed databases.
The nginx stream proxy_timeout can now be configured in the UI, defaulting
to 3600s (1 hour) instead of nginx's 10min default. Set to 0 for no timeout.

Fixes #7743
This commit is contained in:
Brendan G. Lim
2026-02-26 21:12:58 -08:00
parent 78aea9a7ec
commit 30c1d9bbd0
28 changed files with 150 additions and 0 deletions
+1
View File
@@ -20,6 +20,7 @@ class StandalonePostgresql extends BaseModel
protected $casts = [
'init_scripts' => 'array',
'postgres_password' => 'encrypted',
'public_port_timeout' => 'integer',
'restart_count' => 'integer',
'last_restart_at' => 'datetime',
'last_restart_type' => 'string',