When a ship is overloaded, it vents at half the normal dissipation rate (so, strictly worse than not being overloaded, in that regard.)
The duration depends on the hull size, with a factor for how much it went above the maximum - so, right, a torpedo is likely to cause major downtime. It does not depend on how much flux you dissipate while overloaded.