Adds a configurable proxy timeout for publicly-exposed database TCP proxies. Previously hardcoded to nginx’s default of 10 minutes, which causes long-running queries and idle connections to get dropped unexpectedly.
proxy_timeout column on all database models (default: 3600s)/claim #7743
1 of 2: Verifying default timeout value of 3600 and updating to 7200 and saving
https://github.com/user-attachments/assets/8b1e8946-8faa-447c-b80e-55c6fb6c3126
2 of 2: Enabling “Make it publicly available” + verification of nginx stream config being updated.
https://github.com/user-attachments/assets/cf5dd8d8-43d8-4e9f-a110-c309522703b9
Testing the proxy timeout field in local dev environment:
spin up to start the dev environment, login at localhost:8000 with test@example.com / password[!IMPORTANT]
- I have read and understood the contributor guidelines. If I have failed to follow any guideline, I understand that this PR may be closed without review.
- I have tested the changes thoroughly and am confident that they will work as expected without issues when the maintainer tests them
Brendan G. Lim
@brendanlim
Zach Latta
@zachlatta