I stayed 6 years until the company closed. I did wanted to switch jobs since 2 years ago but I kept finding excuses.
Lessons learned both from my experience and from talking to other game programmers: working on games would not fit exactly your pre-made image of it, most jobs in gaming industry will be underpaid (my case) and require overworking (as others told me), it's fine to switch jobs if you are underpaid or bored, it's good to get out of your comfort zone, working in a large company is not as bad as it can seem for someone who only worked in small teams and the best way to get a raise is going to job interviews and trying to sell your skills the best you can.