Is breastfeeding for 45 mins ok?

He’s usually at the boob anywhere from 10-25 mins then we take a break change exc. and he’s back on the other side. I make sure to pay attention to swallowing sounds/ movements. To make sure he’s not just sucking for comfort. He’s 1 month old.