Set a timeout when communicating with the SQL-API (or database in general) #167

Closed
strk opened this Issue Feb 26, 2014 · 0 comments

Comments

Projects
None yet
1 participant
Contributor

strk commented Feb 26, 2014

I've seen MapConfig creation requests take 10 minutes before responding.
And these 10 minutes being all spent waiting for an answer from the SQL-API
in the findLastUpdated or affectedTables queries.

A timeout needs to be set, doesn't make sense for those queries to go on for more than a fraction of a second.

Don't know if the timeout should be configurable.

JIRA REF: https://cartodb.atlassian.net/browse/CDB-1874

strk added this to the 1.8.3 milestone Feb 26, 2014

strk self-assigned this Feb 26, 2014

@strk strk added JIRA and removed JIRA labels Feb 26, 2014

strk closed this in f284362 Feb 27, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment