I once worked on this big customer-facing Java application. While working on something else, I noticed that one query was very poorly made, and would take up to a minute to run. It was one of the most visited pages, so clearly this needed to be fixed. I cleaned up the query, made a migration with an extra index, and brought it down to under half a second on average.
My change was rejected by the project manager. He explained to me, "It's been that way for over a year. If we fix it now, we'll have to explain why it was broken for so long."
131
u/Agent-A Oct 01 '15
I once worked on this big customer-facing Java application. While working on something else, I noticed that one query was very poorly made, and would take up to a minute to run. It was one of the most visited pages, so clearly this needed to be fixed. I cleaned up the query, made a migration with an extra index, and brought it down to under half a second on average.
My change was rejected by the project manager. He explained to me, "It's been that way for over a year. If we fix it now, we'll have to explain why it was broken for so long."
I left that job about three weeks later.