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 'forever' as an option to RequestClient request method. #315

Merged
merged 1 commit into from Jan 22, 2018

Conversation

vzhidal
Copy link
Contributor

@vzhidal vzhidal commented Jan 9, 2018

Hey guys.

Is it possible to add this flag 'forever' as an option in your RequestClient class request method? In that case it will be possible to inherit your class and override this option.

Reason: forever: true doesn't work correctly with AWS lambda functions and we need a way how to override this option without rewriting HttpClient from scratch. Execution of your library methods will return a socket hang up exception from time to time in AWS lambdas, because of the lambdas life cycle.

Copy link
Contributor

@codejudas codejudas left a comment

Choose a reason for hiding this comment

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

+1

@codejudas codejudas merged commit 8377b70 into twilio:master Jan 22, 2018
dkundel pushed a commit to dkundel/twilio-node that referenced this pull request Jan 29, 2018
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.

None yet

2 participants