If you hold the mouse button down to attack it will auto attack at the rate it cools down so you should be able to fire continually forever. If you hammer the mouse button you will quickly overheat and trigger the cooldown.