maplibre/martin

add a proper way to handle long-running and interrupted queries

Open

#6 opened on Oct 6, 2018

 (1 comment) (1 reaction) (1 assignee)Rust (377 forks)auto 404
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.

Contributor guide