muesli / beehive

A flexible event/agent & automation system with lots of bees 🐝
GNU Affero General Public License v3.0
6.27k stars 320 forks source link

Fix Twitter 100% CPU (#335) #347

Closed pbek closed 3 years ago

pbek commented 3 years ago

This fixes the 100% CPU problem of https://github.com/muesli/beehive/issues/335.

muesli commented 3 years ago

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 commented 3 years ago

Posting still works! see #335

muesli commented 3 years ago

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

muesli commented 3 years ago

Replaced by #348.