RRDD is right. I'm a DM and had had my upgrade clear several times this year around an hour before the flight.
It depends on the flight, route, seats available and how heavy the flight is with other Medallion members.
My approach is "if I get upgraded, excellent. If not, I don't care as I bought a coach ticket."