When Twitter is offline, the module always makes attempts to get recent tweets and return old ones if fails to do so.
However, the timeout of 2 seconds is still too big for high-traffic sites (2 seconds of Apache cost really much in busy environments).
A workaround to this is doing requests less frequently, if Twitter is down.

Note: all that makes sense only if tweets are retrieved server-side (not via an Ajax request), using twitter_pull_retrieve function.

Patch pending...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lex0r’s picture

Category: bug » feature
FileSize
5.09 KB

The patch (version 1)

lex0r’s picture

One more patch, now a combined version that includes fixes from
http://drupal.org/node/1652046

q11q11’s picture

Another patch (now for rc5) to combine
#2 from this thread
and
#76 from "Make the Twitter Pull module work when Twitter turns off the version 1 API"

q11q11’s picture

Issue summary: View changes

More details added