When baby sleeps through night

What do you ladies do when your baby stops nursing at night? Do you pump? My two month old occasionally sleeps for 10+ hours. It seems too long to not pump/nurse. I don’t want to hurt my supply.

Baby nurses at 8, I pump at 10ish before bed, when she nurses at night I pump on the other side since she only nurses for 10-12 minutes on one side.

If I knew she would sleep through the night I could schedule a time to pump but am worried to pump and then she wakes up to eat.