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 option can not work #30

Open
tomwang1013 opened this issue May 4, 2015 · 0 comments
Open

timeout option can not work #30

tomwang1013 opened this issue May 4, 2015 · 0 comments

Comments

@tomwang1013
Copy link

requestify.request(app.get('java_search_server') + path, {
  method: 'GET',                                          
  params: options,                                        
  dataType: 'json',                                       
  timeout: 1000                                           
}).then(function(response) { 
  // expect return after 1 second
}                             

I set timeout to 1 second as above, but it didn't work as expected: no response received, it hang on!

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

1 participant