---
title: Optimise query for Deployment#previous_environment_deployment in LinkMergeRequestWorker
merge_request: 57039
author:
type: performance