- We consider a one-dimensional bosonic gas on a ring lattice, in the presence of a localized barrier, and under the effect of an artificial gauge field. By means of exact diagonalization we study the persistent currents at varying interactions and barrier strength, for various values of lattice filling. While generically the persistent currents are strongly suppressed in the Mott insulator phase, they show a resonant behavior when the barrier strength becomes of the order of the interaction energy. We explain this phenomenon using an effective single- particle model. We show that this effect is robust at finite temperature, up the temperature scale where persistent currents vanish.