If I didn't have bills I needed to pay, I would take a longer hiatus. Earlier this year, I was let go from my position as a senior software engineer. My review months before was like "you're a great dev, here's a 4% raise" and then a few months later "Your performance is horrible, you're fired."
Immediately, I began looking for work but I knew I needed to heal from the experience. I have a job now but there are times it crosses my mind that maybe I should have taken more of a hiatus. But I had enough money in my savings for only five months. I like my new job but there are times I get so tired, next year I might just take a month off and get some rest.