-
Notifications
You must be signed in to change notification settings - Fork 606
Added parameter for configuring timeout for /evaluate. #298
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
Conversation
Hello @jnegara! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2019-05-22 19:17:01 UTC |
* Added parameter for configuring timeout for /evaluate. (#298) * Added configurable timeout. * Added unit test for custom evaluate timeout. * Fixed evaluation timeout, added integration tests + additional UT. * Documentation updates. * Reverting state.ini. * Updated file path in server-config.md. * Fixing pep8 issues. * Improved timeout error messaging. * Fixed docs, removed debugging prints. * Returning HTTP code 408 on eval timeout. * Querying models through /evaluate causes server hang. (#300) * Made call_subprocess non-blocking. * Magic? * Using native coroutines in EvaluationPlaneHandler. * Updated docs to reflect timeout limitations. * Resolved markdownlint issue. * Back to tornado coroutines. * Fixed pep8 style. * fixing regex issue where . were not allowed in endpoint path (#305) (#306) * adding t-test to pre-deployed models (#312) * adding t-test to pre-deployed models * fixed pep8 issues * import error on ttest and updated successful deployment message for sentiment analysis * fixed md issues * fixed endpoint name in integration tests * refactor redundant code and update md * Add FAQ.md (#325) * Update README.md * Create FAQ.md * Fix models call via /evaluate in HTTPS (#322) * Fix models call via /evaluate in HTTPS * Restore state.ini * Delete 'Supported Configurations' page (#327) * Upgrade to Tornado 6 (#328) * remove asyncronous attribute for coroutines * Remove dependency on jsonschema * Fix markdown * Update setup.py * Add tornado to travis script * Add tornado to travis script * Remove tornado-json dependency * Update VERSION * Update CHANGELOG * Fix pycodestyle warnings
Added support for parameter
TABPY_EVALUATE_TIMEOUT
in the server config.When
/evaluate
is called with some script, if that script takes longer than the number of seconds specified by this parameter the script is terminated and the client received aTimeoutError
.If
TABPY_EVALUATE_TIMEOUT
is set to a non-float value, or is not present then the timeout length defaults to 30s.This should close issue #118.