Open halfak opened 8 years ago
Are there any phabricator issues? Better to fix MediaWiki too
I've been filing them in phab as I find them. We've addressed a few that are related to query structures that result in inefficient queries. Many of these errors seem to be intermittent issues that are resolved on a retry. I think that a min retry that reports the error after a small number of failures will help us differentiate between the intermittent issues and problematic queries/revisions.
Sometimes we get a response that looks like the following and this will raise a
ValueError
because it cannot be parsed as JSON:It seems that this can happen for many reason, but we should probably re-try the request a maximum number of times before giving up instead of just raising the error.