As always: it all depends.
I have spent 4 years in my previous job and didn't get into my comfort zone at all. Until the very last day I was learning and trying new stuffs. So now you might ask why did I get a new job. I went for it as a personal challenge. New country, new life, new product, new... I wanted to try it all.
I honestly think that if you stay something less than 2 years on a job is because the company just not suits you and you have the opportunity to work somewhere else. Because if the company suits you I'm pretty sure you'll have enough challenges and develop yourself in 2 years.
Going back to your questions:
Sounds like you had a nice position and I hope you are enjoying your new one just as much 😄
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.