Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing api.max_page_size to config as IntOpt #6134

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions st2common/st2common/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down
Loading