Enforce snapshot limit when publish happens

I just added default snapshot limit of 0 in core.