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:
parent
76f3dc32e0
commit
db4d69f099
@ -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');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user