Skip to content

Commit

Permalink
feat: Issue #56, increase project executions max limit results to 250
Browse files Browse the repository at this point in the history
  • Loading branch information
phsmith committed Jul 20, 2022
1 parent 9929bcc commit d48ea0c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.4.13] - 2022-07-19

### Added
- Increased project executions max limit results to 250. Details on issue #56

## [2.4.12] - 2022-07-04

### Fixed
Expand Down
6 changes: 3 additions & 3 deletions rundeck_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
__author__ = 'Phillipe Smith'
__author_email__ = '[email protected]'
__app__ = 'rundeck_exporter'
__version__ = '2.4.12'
__version__ = '2.4.13'

# Disable InsecureRequestWarning
requests.urllib3.disable_warnings()
Expand Down Expand Up @@ -220,8 +220,8 @@ def get_project_executions(self, project: dict):
project_name = project['name']
project_execution_records = list()
jobs_list = list()
endpoint = f'/project/{project_name}/executions?recentFilter=1d'
endpoint_running_executions = f'/project/{project_name}/executions/running?recentFilter=1d'
endpoint = f'/project/{project_name}/executions?recentFilter=1d&max=250'
endpoint_running_executions = f'/project/{project_name}/executions/running?recentFilter=1d&max=250'

try:
if self.args.rundeck_projects_executions_cache:
Expand Down

0 comments on commit d48ea0c

Please sign in to comment.