Quick hack to discard twitter broadcast queue items on failure *IF* config option 'twitter' 'ignore_errors' is on:

$config['twitter']['ignore_errors'] = true;

A longer-term solution is to patch up the indirect retry handling to count retries better, or delay for later retry sensibly.
This commit is contained in:
Brion Vibber 2010-12-07 12:11:37 -08:00
parent 76f3dc32e0
commit db4d69f099
1 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ class TwitterQueueHandler extends QueueHandler
function handle($notice)
{
return broadcast_twitter($notice);
$ok = broadcast_twitter($notice);
return $ok || common_config('twitter', 'ignore_errors');
}
}