Merge "Creates throttle function for flows" into tm-qpr-dev