I used to drink minimum 36oz (~150mg of caffeine per cup) of coffee per day and it was just turning me into an absolute wreck and just cutting back that little bit has made a huge difference. So instead of 450mg of caffeine, I'm getting ~270mg, so just a little above half the intake and it's made a huge difference.
A-fib just seemed like a natural consequence of the "caffeine peak" and reducing my consumption helped quite a bit.