Enforce snapshot limit when publish happens