Job hopping at a fixed time is silly. Don't leave a situation where you're growing, getting new opportunities and doing interesting work because generalized advice on the internet told you to. Leave when you're not happy, not growing, and not getting paid what you're worth.
The timing right now isn't great either - the market is flooded with recent layoffs, and companies are trying to pick them up at a discount.