How long do you pump for?

Alicia
How long do you pump for at each session? My LO is a month old and taking 2.5 to 3 oz a feeding. I was initially pumping for 10 mins then increased to 20 to 30 mins. I don't think I can or want to increase that time but sometimes my output is so little and my nipples are so sore.