-
Notifications
You must be signed in to change notification settings - Fork 88
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
TDL-16349: Add request timeout #147
Conversation
@@ -48,7 +48,8 @@ This tap: | |||
```json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add the description for the request_timeout in point 3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to specify the dependency of backoff in the setup.py file ??
When we import |
tap_github/__init__.py
Outdated
config_request_timeout = args.config.get('request_timeout') | ||
|
||
if config_request_timeout and float(config_request_timeout): | ||
request_timeout = float(config_request_timeout) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add detailed comment above if
condition.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added comment.
tap_github/__init__.py
Outdated
request_timeout = float(config_request_timeout) | ||
# return the timeout from config | ||
return request_timeout |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
request_timeout = float(config_request_timeout) | |
# return the timeout from config | |
return request_timeout | |
return float(config_request_timeout) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
Description of change
TDL-16349: Add request timeout
Manual QA steps
Risks
Rollback steps