I had a double inguinal hernia operated on when I was about 13/14yrs. Very painful 48hrs after the surgery, but not too bad after 2wks.
Was told no cricket for 6 wks, but was back playing after 5. Was a bit painful, but after 7-8wks I'd say I was fully recovered. Given that I was a fast bowler...