Addshore added a comment.
Having some sort of limit there for batch sizes is probably a good idea, we would want to stop users being able to impact the size of the inserts too dramatically. (I wonder how big a batch a malicious actor could create). But perhaps 10 there is too small, just switching that to 200 would probably be fine :) Where the wait for replay should be is an interesting question. I assume these jobs are not only run in the maintenance script then? If these jobs are run else where, and we switch to a batch size of 200, then we should probably also add a wait for lag in the case when multiple batches would happen. We would likely also then want a wait for lag in the maint script between each execution of the job from there. TASK DETAIL https://phabricator.wikimedia.org/T226635 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Addshore Cc: Addshore, Marostegui, Lucas_Werkmeister_WMDE, Aklapper, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Agabi10, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
