The Problem When databases are exposed publicly, the TCP proxy times out after ~10 minutes due to nginx’s default timeout. This prevents long-running queries (30+ minutes) from completing successfully.
The Solution Added a configurable public_proxy_timeout field to all databases:
Default: 0 (unlimited - translates to 7 days in nginx) Customizable: Users can set specific values like 30m, 2h, 5d Works for: PostgreSQL, MySQL, MariaDB, MongoDB, Redis, KeyDB, Dragonfly, Clickhouse Changes Made Migration: Added public_proxy_timeout column to all database tables Backend: Updated StartDatabaseProxy.php to apply timeout to nginx config Frontend: Added timeout input field to all 8 database settings pages How It Works Backwards Compatible Yes - existing databases automatically get unlimited timeout (default 0).
Demo video will be uploaded shortly.
/claim #7743
Bhavik joshi
@Bhav-ikkk
Zach Latta
@zachlatta