Dilation and infection

Is it true doctors won’t let you be dilated for too long bc of increased risk of infection? If so, how long can you be dilated before they induce you?