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

Timeout #10

Open
lukecampbell opened this issue Apr 30, 2012 · 4 comments
Open

Timeout #10

lukecampbell opened this issue Apr 30, 2012 · 4 comments

Comments

@lukecampbell
Copy link
Member

Add support for timeout on the HTTP Request.

http://docs.python-requests.org/en/latest/user/quickstart/#timeouts

@lukecampbell
Copy link
Member Author

Will be implemented in 0.7 (absolute must for Pyon)

@aswingilli
Copy link

is this issue still open ? am still getting

File "/usr/local/lib/python2.7/site-packages/elasticpy/search.py", line 24, in init
self.session = ElasticConnection(timeout=timeout,encoding=encoding)
File "/usr/local/lib/python2.7/site-packages/elasticpy/connection.py", line 40, in init
self.session = requests.Session(timeout=timeout, **params)
TypeError: init() got an unexpected keyword argument 'timeout'

@lukecampbell
Copy link
Member Author

Wow, I didn't realize anyone was actually using elasticpy.

@lukecampbell
Copy link
Member Author

I think I can take a look at it this week.

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

No branches or pull requests

2 participants