Adding maximum api calls configuration and use in pager