Is 10 years too much?

I met this girl the other night and we got along really well but I’m not too sure on one thing. I’m 21 (well in july) and she’s 31. Normally I have a 5 year limit but I’m not too sure if age should be a factor anymore. Anyone have an opinion on this?