tpot icon indicating copy to clipboard operation
tpot copied to clipboard

Made MAX_EVAL_SECS configurable via environment

Open ecmascriptguru opened this issue 1 year ago • 0 comments

[please review the Contribution Guidelines prior to submitting your pull request. go ahead and delete this line if you've already reviewed said guidelines.]

What does this PR do?

  • MAX_EVAL_SECS value hardcoded as 10 seconds and I wanted to get it increased but no way. So made it configurable.

Where should the reviewer start?

  • Simple. Just check the decorators.py

How should this PR be tested?

  • No big change but anyone can configure the timeout raised by stopit.

Any background context you want to provide?

  • No background.

What are the relevant issues?

  • #1088
  • #1200

Screenshots (if appropriate)

  • No screenshot

Questions:

  • Do the docs need to be updated? Maybe yes.
  • Does this PR add new (Python) dependencies? No.

ecmascriptguru avatar Jun 25 '23 01:06 ecmascriptguru