How long can a spitfire fire it's guns?

The spitfire can fire its main guns for no more than 40 seconds continuously.