Used to be a big fan of pre-workout kimchi for the kick. Then I had a similar experience on leg day, just waiting for disaster. Now it's a hard rule for me, fermented foods are strictly a post-exercise reward. The peace of mind is totally worth the wait.