GoTrue currently has no timeout configuration at multiple levels:
- HTTP server:
http.Server in api.go has no ReadTimeout, WriteTimeout, or IdleTimeout
- Database queries:
storage/dial.go creates a plain pop.Connection with no timeout. No context.WithTimeout is used in the storage layer.
- MySQL
max_execution_time: Not configured, meaning long-running SELECT queries have no server-side limit.
Without these, a slow query or hung connection can cascade and degrade the entire service.
Moved from CI 29, 30, 31
GoTrue currently has no timeout configuration at multiple levels:
http.Serverinapi.gohas noReadTimeout,WriteTimeout, orIdleTimeoutstorage/dial.gocreates a plainpop.Connectionwith no timeout. Nocontext.WithTimeoutis used in the storage layer.max_execution_time: Not configured, meaning long-running SELECT queries have no server-side limit.Without these, a slow query or hung connection can cascade and degrade the entire service.
Moved from CI 29, 30, 31