45 minutes from dating

Is 45 minutes too far to live from someone you’re dating? I currently live about 25 minutes away from him but I’m worried 45 will be too much and he’ll give up on us.

For background - we had been sleeping together for two years, ended what that was and got back together more recently with the intent on having a relationship this time. I haven’t told him I’m moving yet because I’m worried that’ll change his perspective on wanting a relationship (I know I’ll need to tell him at some point)