My friend had an inguinal hernia repair surgery a year back. He was back home the same day and took a recovery time of around 2 weeks.
You most likely can return to light activity after 1 to 2 weeks. However, you should not do severe exercises until after 4 weeks of recovery.