maplibre/martin

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

Aperta

#6 aperta il 6 ott 2018

 (1 commento) (1 reazione) (1 assegnatario)Rust (377 fork)auto 404
help wantedperformanceserving

Metriche repository

Star
 (3761 stelle)
Metriche merge PR
 (Merge medio 2g 16h) (78 PR mergiate in 30 g)

Descrizione

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.

Guida contributor