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 default timeout setting helper to process module #202

Merged
merged 1 commit into from
Jan 28, 2020

Conversation

lukpueh
Copy link
Member

@lukpueh lukpueh commented Jan 21, 2020

Fixes issue #:
None

Description of the changes being introduced by the pull request:
Add helper to use settings.SUBPROCESS_TIMEOUT as default argument in process.run* functions, and still be able to modify the setting in the settingsmodule after the function definitions are evaluated, i.e. after the process module is imported for the first time.

Please verify and check that the pull request fulfils the following
requirements
:

  • The code follows the Code Style Guidelines
  • Tests have been added for the bug fix or new feature
  • Docs have been added for the bug fix or new feature

Add helper to use settings.SUBPROCESS_TIMEOUT as default argument
in process.run* functions, but still be able to modify the setting
after the function definitions are evaluated, i.e. when the process
module is first imported.
@lukpueh
Copy link
Member Author

lukpueh commented Jan 28, 2020

@adityasaky, would you mind reviewing this PR?

@joshuagl
Copy link
Collaborator

This looks like a nice change to me.

@lukpueh lukpueh merged commit 1dbf547 into secure-systems-lab:master Jan 28, 2020
Copy link
Member

@adityasaky adityasaky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants