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

Fix Twitter 100% CPU (#335) #347

Closed
wants to merge 1 commit into from
Closed

Conversation

pbek
Copy link
Contributor

@pbek pbek commented Oct 25, 2020

This fixes the 100% CPU problem of #335.

  • Posting a tweet still works
  • Reacting to a like still doesn't work

@muesli
Copy link
Owner

muesli commented Oct 26, 2020

I'm not sure that's the right fix: the sleep certainly prevents it from using all of your CPU, but it looping constantly means there's something else going wrong. It's probably because the user-stream API has pretty much been shutdown by Twitter. I guess we can remove it from Beehive altogether now.

@pbek
Copy link
Contributor Author

pbek commented Oct 26, 2020

Posting still works! see #335

@muesli
Copy link
Owner

muesli commented Oct 26, 2020

Oh sorry, I didn't mean to remove the Twitter hive entirely. I only meant to remove the user stream from the code.

@muesli
Copy link
Owner

muesli commented Oct 26, 2020

Replaced by #348.

@muesli muesli closed this Oct 26, 2020
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