Add ability to configure api_result_limit
In clouds with many containers or objects, listing them via Horizon can cause a signficant increase of system load. This patch enables configuration of the API_RESULT_LIMIT setting within Horizon. This limits the maximum number of objects to display on a single page before providing a paging element to paginate results. Change-Id: Ifaf39d6c9bf549428afd7653243c82cd719956f6 Closes-Bug: 1775002
Showing
- config.yaml 7 additions, 0 deletionsconfig.yaml
- hooks/horizon_contexts.py 2 additions, 0 deletionshooks/horizon_contexts.py
- templates/icehouse/local_settings.py 1 addition, 1 deletiontemplates/icehouse/local_settings.py
- templates/liberty/local_settings.py 1 addition, 1 deletiontemplates/liberty/local_settings.py
- templates/mitaka/local_settings.py 1 addition, 1 deletiontemplates/mitaka/local_settings.py
- templates/newton/local_settings.py 1 addition, 1 deletiontemplates/newton/local_settings.py
- templates/ocata/local_settings.py 1 addition, 1 deletiontemplates/ocata/local_settings.py
- unit_tests/test_horizon_contexts.py 14 additions, 0 deletionsunit_tests/test_horizon_contexts.py
Loading
Please register or sign in to comment