maplibre/martin
add a proper way to handle long-running and interrupted queries
Open
#6 opened on Oct 6, 2018
help wantedperformanceserving
Repository metrics
- Stars
- (3,761 stars)
- PR merge metrics
- (PR metrics pending)
Description
Martin may become unresponsive while PostgreSQL is handling a lot of long-running SQL queries. Some frontends like Nginx may also cancel requests based on timeout, but these requests might still be running as queries in PostgreSQL.
We need a way to set a timeout for such requests, so we can cancel queries in the PostgreSQL.