dmarx / twitterMonitor

Simple twitter event detection tool
1 stars 0 forks source link

Speed up tweet fetching #33

Open dmarx opened 7 years ago

dmarx commented 7 years ago

Something funny is going on. I don't think this was an issue previously, but in any event it's occurred to me that I'm able to pull tweets down about 8x faster locally than I can on the server, which means I get way better results running the monitor locally than on AWS for some inexplicable reason. Tried restarting the server, made no difference.

I suspect that the code I added to handle database lock exceptions is the culprit.