When twitter_fetch_mentions_timeline() encounters a mention, it will save the author of that tweet in the twitter_account table with uid = 0, which is the anonymous user. When user_load(0) is called, twitter_user_load() will happily load all twitter accounts with uid = 0, which can be a lot. I suggest that twitter_user_load() is changed such that it will not process uid = 0.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | twitter-n2369833-9.patch | 641 bytes | damienmckenna |
| #8 | twitter-n2369833-8.patch | 587 bytes | damienmckenna |
Comments
Comment #1
jorrit commentedComment #2
jorrit commentedComment #3
damienmckennaTriggering the testbot.
Comment #4
damienmckennaTriggering the testbot.
Comment #6
jorrit commentedIt seems to me that the tests are already broken.
Comment #7
baldwinlouie commentedThis is broken for 7.x-6.x too. Attaching patch for that branch.
Comment #8
damienmckennaI updated the comment for the v5 patch.
Comment #10
damienmckennaRerolled for the v6 branch.
Comment #11
damienmckennaCommitted. Thank you both.
Comment #13
damienmckennaI also committed it to the D6 branch.
Comment #18
damienmckenna