Magento2 how to prevent loading 10k products on category page?

2018-02-18 09:45:33

our website is having 200000 products. One category is having 122000 products.

when user load that category page it's fetching 10k products in one short(magento is limiting it to 10k instead of 122k products).

How to change this 10k products limit to 500 products on that category page?