PixInsight's dark frame optimization uses neither exposure time nor sensor temperature. It scales the MasterDark minimizing the noise in the
calibrated light frame, see
https://pixinsight.com/forum/index.php?topic=8839.0 In this way both a changing temperature of the light frames and different exposure time is compensated.
However, it is advisable to capture the dark frames at the same exposure time as the light frames and at constant sensor temperature, close to that of the light frames. My experience (Canon 600D) is that the sensor temperature rapidly stabilizes after 5 - 6 exposure if short pauses (some seconds) between frames are used and the ambient temperature is nearly constant.
With cameras that have no or low "amp glow", it is recommendable to use dark frame compensation. You will have to try which approach gives the best calibration result.
The criterion for the best calibration result is not the full removal of hot pixels. It is normal that some hot pixels remain after calibration. These shall be removed by applying CosmeticCorrection.
Bernd