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

Executing Search not ending #46

Closed
joseproura opened this issue Apr 30, 2014 · 2 comments
Closed

Executing Search not ending #46

joseproura opened this issue Apr 30, 2014 · 2 comments

Comments

@joseproura
Copy link

Since 23/04 Twitter have problems with some of our programs that search via Net::Twitter.

The problem seems related with issues in Twitter (API Status page https://dev.twitter.com/status)

After investigating we ends with the call to $netTwitter->search never ends and the process start consuming 90-100% CPU.

We though that the problem is that Net::Twitter is performing the search via LWP, we have some experience with LWP and we know that LWP is not managing good timeouts, with some calls that never ends. Looking the code of the component I does not find any control of wrong behaviour of LWP and I think it could be interesting.

We resolve the problem setting a alarm signal to 5s before the function and everything starts to works good.

@semifor
Copy link
Owner

semifor commented Apr 30, 2014

Thank you for the report. This is very helpful. I'm away for a few days, but hopefully we can find a permanent solution soon.

@semifor
Copy link
Owner

semifor commented Mar 24, 2015

This has thankfully been resolved with updates to dependencies.

@semifor semifor closed this as completed Mar 24, 2015
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