diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1e48760eef..798d1ec4cd 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -66,6 +66,9 @@ Fixed * For "local-shell-script" runner, on readonly filesystems, don't attempt to run chmod +x on script_action. Fixes #5591 Contributed by @jk464 +* Fix "api.max_page_size" added to st2common/st2common/config.py. Fixes 5327 + Contributed by @maxfactor1 + Added ~~~~~ * Move `git clone` to `user_home/.st2packs` #5845 diff --git a/st2common/st2common/config.py b/st2common/st2common/config.py index c88955e4bb..464140f89e 100644 --- a/st2common/st2common/config.py +++ b/st2common/st2common/config.py @@ -363,6 +363,11 @@ def register_opts(ignore_errors=False): api_opts = [ cfg.StrOpt("host", default="127.0.0.1", help="StackStorm API server host"), cfg.IntOpt("port", default=9101, help="StackStorm API server port"), + cfg.IntOpt( + "max_page_size", + default=100, + help="Maximum limit (page size) argument which can be specified by the user in a query string.", + ), cfg.ListOpt( "allow_origin", default=["http://127.0.0.1:3000"],