One can boost resource collectors (elixir pumps/drills and gold mines), hero recovery, barracks and spell factories, to make them work faster for a while. I know a barracks boost gets "paused" when the servers are down forward maintenance and one can "resume" them boost when one's ready to profit from it again.
But what happens when I upgrade a boosted resource collector (and render it inactive forward a while). Does the boost get paused? Or is it just a waist of the gems used for boosting?