-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(runner conf): Runner conf allows mergin of timeouts with default
- Accounts for zero value configurations in the merging process Use nullable timeout values on the runner conf, so if timeouts are nil, values from default conf can be used (before this commit zero values could not be used properly). - Split the merging of configuration in 'GetConfRunner' into a separate function 'MergedConfRunners' for simpler code and potential future reusability By changing the configuration assignments to reference assignments, we have more flexibility when passing runner configurations (i.e., we can use nil to specify a non-override). By splitting the configuration merging logic into a separate function, we enhance readability and promote reusability. The adjustments in the test functions account for these changes. The update to the HTTP response generation simplifies the existing implementation by removing redundancy.
- Loading branch information
1 parent
d9b2a32
commit a5b7f6b
Showing
4 changed files
with
199 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.