Please help Milk question

Trisha
Pumping question 
If I pump while my son nurses/sleeps but I can't get up, how long can the milk sit out before I can get it to the fridge without it being bad?