If it is an electrolytic capacitor, it won't last long due to the high-current pulses. The thin oxide layer that acts as an insulator inside the capacitor will likely be punctured by the pulse current.I was thinking that.
i went and bought a 1uF 450v capacitor
but it's polarized :S
Polyethylene or polypropylene capacitors are best for this type of application.