While that query is taking quite a while, it isn't clear that removing the ORDER BY would stop that page from timing out. There is a 19 second gap between statement #32 and the one where the TimeoutError was raised.
That should be investigated as well as fixing Storm to remove the ORDER BY clause.
While that query is taking quite a while, it isn't clear that removing the ORDER BY would stop that page from timing out. There is a 19 second gap between statement #32 and the one where the TimeoutError was raised.
That should be investigated as well as fixing Storm to remove the ORDER BY clause.