It *should* be switching every server tick and resetting, so every 3 or so seconds depending on when you stepped into the other field, with no other conditions to trigger it.

Sounds like you got hit with a bug.