Default opts.limit

In case opts.limit is not provided, specify a default value 9999