NSW Premier Chris Minns praised police for their “determination” after a second man was arrested over a synagogue attack.