Sitting in poop ? How long before changing dirty diaper

FirstTimeMom💁🏻🤰🏻🤱🏻

How long do you let your little one finish their business or let them sit in a dirty diaper ?

Example - it’s 4:30 am I fed , changed a poopy diaper and got peed on - changed outfits and fed again and now I just heard a loud fart : more poop 💩

Do you let him go back to sleep and change it in 2 hours or take off everything again and check and change again now ? He also cried 90% of the time in diaper changes so I’m tempted not to stir him up again and try to get to sleep - am I being a bad mommy not changing again now !?