How long to sue IRS for refund?

I’ve had to wait much too long for my refund, and still haven’t received, I’m considering suing.  Is there a statutory timetable to initiate a Federal lawsuit for a filers refund?