I think I'm the poster child for screwy heart rhythm issues. Immediately following my valve replacement my heart went into and out of afib, went very fast (up to 200 BPM) and very slow, all sorts of cranky unusual rhythms, then eventually my heart would just plain stop for 15 to 20 seconds at a time. Let me tell you, it is not a good thing to watch your own heart monitor go "flat-line." The last time that happened I woke up with a crowd of docs and techs surrounding me. At that point we opted for a permanent pacemaker. The electrophysiologist said that they could continue treating me with various meds, but the pacemaker would set it right and keep it there. I just aksed them "What are we waiting for?" On day 5 I had the pacemaker implanted, and on day 9 I went home. Initially I had several additional meds, but after a couple of months of "good behavior" they were discontinued. My last instance of afib was on day 30. I started out 100% dependent upon my pacemaker, now I'm down to "only" 17%. That is enough to convince me that it would have been a very rough recovery for me had I not chosen the pacemaker.
I'm not trying to convince you to get a pacemaker. I am trying to convince you that they can deal with this. Short of catastrophic heart failure, they can manage almost anything to a level at which you can go home. You will probably have a whole bag of meds for a while, and you may have a permanent pacemaker, but you will go home and back to your life. All of my rhythm issues happened so soon after surgery that I didn't really grasp the gravity of the situation. I just lived in the moment and decided what to do when presented with choices. I have no regrets, and I'm still here living MY life.