As with any surgery, this varies.
It would depend on the exact surgery required as well as whether there are any complciations. Usually it would involve one to two weeks in the hospital and four to eight weeks at home. It also depends on what you mean by "recovery." the chest could be sore for a much longer period for instance.