CartoDB / CartoDB-SQL-API

CartoDB SQL API
BSD 3-Clause "New" or "Revised" License
63 stars 65 forks source link

Use a command timeout as a fallback when user's rendering timeout is deactivated #695

Closed dgaubert closed 3 years ago

dgaubert commented 3 years ago

Use a command timeout as a fallback when the user's rendering timeout is deactivated (render timeout === 0)

CH: 176620

In production, many users have the render timeout deactivated. This timeout is also used to limit the ogr2ogr command time of execution when deactivated users can cause a huge load in the server while exporting. So this PR implements a fallback to prevent long-running exports.

shortcut-integration[bot] commented 3 years ago

This pull request has been linked to Clubhouse Story #176620: servinformacion is causing load issues in sql api due to huge export operations.