I have recently purchased a semi-auto and I was thinking of leaving one magazine loaded.

Question is how long will the spring last fully compressed or should I leave it half-way compressed for extended storage?

Its an non-issue with a revolver and that's why I'm asking for those who have semi-autos and know. Thank you for taking the time.