How long can Nancy Pelosi serve as speaker of the house?

Indefinitely