"--limit" parameter of heavy CLI commands should not be infinite by default
Registered by
Renat Akhmerov
For commands like "mistral task-list" and "execution-list" we need to set --limit parameter by default to some reasonable value. The proposal is 100. Otherwise it's easy to cause a huge load on a server if the result set is not limited.
For such commands, in case if --limit is not explicitly specified by a user we can print a warning like "Note: for this command parameter "limit" is set to 100 by default. If you want a different value you need to specify it explicitly. -1 for non-limited result set"
Blueprint information
- Status:
- Complete
- Approver:
- Renat Akhmerov
- Priority:
- High
- Drafter:
- Renat Akhmerov
- Direction:
- Approved
- Assignee:
- Sharat Sharma
- Definition:
- Approved
- Series goal:
- Accepted for pike
- Implementation:
- Implemented
- Milestone target:
- 3.1.2
- Started by
- Sharat Sharma
- Completed by
- Sharat Sharma
Related branches
Related bugs
Sprints
Whiteboard
(?)