Critical currents in inhomogeneous triangular Josephson arrays: a model for polycrystalline superconductors