CartoDB / cartodb-postgresql

PostgreSQL extension for CartoDB
BSD 3-Clause "New" or "Revised" License
111 stars 53 forks source link

Change `__CDB_RegenerateTable_Get_Commands` to use the caller timeout or '1min' if not set #401

Closed Algunenano closed 3 years ago

Algunenano commented 3 years ago

Raise the timeout to get the lock to whatever the current statement_timeout for the user is. To avoid blocking indefinitely, if the timeout is 0, use 1 minute instead.