Both can be, and seem to commonly be done at the same time. In my case, the hernia ended up being so tiny when the surgeon got in there that it did not require repair.
My surgery lasted 2 hours and 9 minutes. (funny how accurate of a time the surgeon gave me). Sounds like many take 90 minutes. Mine involved students observing, so perhaps that made it last longer.