Skip to content

Resolve "ActiveRecord::StatementInvalid: PG::QueryCanceled: ERROR: canceling statement due to statement timeout"

What does this MR do?

Uses a PostgreSQL CTE to optimize querying/deleting Todos, which was timing out.

What are the relevant issue numbers?

Closes #50359 (closed)

Does this MR meet the acceptance criteria?

Edited by Brett Walker

Merge request reports

Loading