There's no time limit on the judge's ruling.

You've told us essentially nothing about the case; normally you must exhaust all of your state court remedies before you are eligible for relief through the federal courts.