It depends on whether it was managed conservatively with bowel
rest or required surgery.
Also depends on definition of recovery. If you refer to eating regular food and having bm's that can be 1-2 days but may take even longer depending on the degree of obstruction. If surgery was required, full recovery to unlimitted activity is 4-6 weeks.