[Wikidata-bugs] [Maniphest] [Edited] T204469: WikibaseQualityConstraints should respect query service 429 header response.

2018-10-05 Thread Addshore
Addshore updated the task description. (Show Details) CHANGES TO TASK DESCRIPTIONWhen the quality constraints API is hit repeatedly mediawiki will flood the query service with requests, and the result will be mediawiki will get banned as in T163642T204267TASK

[Wikidata-bugs] [Maniphest] [Edited] T204469: WikibaseQualityConstraints should respect query service 429 header response.

2018-09-25 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION... - if no retry-after is present, a warning should be logged --- General implementation breakdown: - [ ] write timestamp to cache when a 429 response is received - [ ] read from cache to check if

[Wikidata-bugs] [Maniphest] [Edited] T204469: WikibaseQualityConstraints should respect query service 429 header response.

2018-09-25 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION... - If a 429 is received and, a notice should be logged - if no retry-after is not present, a warning should be loggedTASK DETAILhttps://phabricator.wikimedia.org/T204469EMAIL

[Wikidata-bugs] [Maniphest] [Edited] T204469: WikibaseQualityConstraints should respect query service 429 header response.

2018-09-25 Thread Addshore
Addshore updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION...To avoid getting banned our requests should respect the header returned by the query service (suggested in T204267#4584397) TBA more detials **BDD**...THEN QualityConstraints should not run fresh constraint