When to stop waking to feed?

👩🏻

When can I stop waking my baby to feed? She is 6 weeks old now. She had lots of trouble gaining weight initially, but is doing better now. I'm so tired that sometimes I sleep through my alarm to wake her to feed and she ends up waking in her own about 4-5 hours after her last feed. Is it ok to not wake her at this age? What is the max amount of time I should let her sleep?