Skip to content

v1.11.1: a more reliable advanced API

Latest

Choose a tag to compare

@jh-RLI jh-RLI released this 08 Nov 13:15
033019c

🐛 Bugs

  • The advanced API runs more reliably: A session a client leaves behind, with an open cursor or an unfinished transaction, is now closed after 10 minutes without use instead of holding a database connection until the server restarts. Such leftovers had filled the advanced API's connections, so /api/v0/advanced answered many requests with 503. A session a request is still using, a long download included, is never closed. Closing or rolling back a session that is already gone now answers success. (#2734) (#2748) (#2752)
  • Aborted downloads free their connection: A table download through the API (.../rows/) that the client stops reading gives its database connection back straight away. (#2735)
  • Faster downloads: Table downloads and the advanced API's streamed results fetch rows in batches of 100, which makes a CSV download about 29 times faster. (#2747)

This patch release contains only these fixes on top of v1.11.0. It needs no migrations and no settings change; the 10 minutes can be changed with the new optional setting CURSOR_TIME_OUT.

Details: changelog for v1.11.1

Full Changelog: v1.11.0...v1.11.1