Summary

Resolves #7743 /claim #7743

The nginx stream proxy for publicly exposed databases defaults to a 10-minute timeout (nginx default proxy_timeout), causing long-running database operations (e.g. large SELECT * queries) to be disconnected prematurely.

Changes

Migration

  • Adds public_port_proxy_timeout column (integer, default 0) to all 9 database tables

Proxy Configuration (StartDatabaseProxy.php)

  • Reads public_port_proxy_timeout from the database model
  • Injects proxy_timeout and proxy_connect_timeout into the nginx stream config
  • 0 = no timeout (effective 7-day unlimited); positive integer = custom timeout in seconds

UI (all 8 database type views)

  • Adds Proxy Timeout (seconds) input field below Public Port
  • Helper text explains 0 = no timeout default
  • Field disabled when database is not publicly exposed

Livewire Components (all 8 General.php files)

  • Adds proxyTimeout property with validation
  • Auto-restarts the proxy on form save when timeout changes

Behavior

Value Behavior
0 (default) No timeout - connections stay open indefinitely
> 0 Timeout in seconds between successive read/write operations

Default of 0 solves the original issue: long-running queries (30min+) will no longer be disconnected.

Claim

Total prize pool $100
Total paid $0
Status Pending
Submitted January 28, 2026
Last updated January 28, 2026

Contributors

NE

nexicturbo

@nexicturbo

100%

Sponsors

ZA

Zach Latta

@zachlatta

$100